开启redis缓存

This commit is contained in:
xxq250 2023-06-14 14:43:45 +08:00
parent 8874898ff3
commit 7176d3d2d5
1 changed files with 1 additions and 1 deletions

View File

@ -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