开启redis缓存
This commit is contained in:
parent
8874898ff3
commit
7176d3d2d5
|
@ -104,7 +104,7 @@ Rails.application.configure do
|
|||
|
||||
|
||||
# config.cache_store = :file_store, "#{Rails.root }/files/cache_store/"
|
||||
# config.cache_store = :redis_store, 'redis://127.0.0.1:6379/0/cache', { expires_in: 90.minutes }
|
||||
config.cache_store = :redis_store, 'redis://127.0.0.1:6379/0/cache' #, { expires_in: 90.minutes }
|
||||
|
||||
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
|
|
Loading…
Reference in New Issue