mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-11 15:25:56 +08:00
开启redis缓存
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user