Signed-off-by: alanlong9278 <547533434@qq.com>
This commit is contained in:
parent
a27b3e9dc6
commit
b1a60d3118
|
@ -5,7 +5,7 @@
|
|||
*.swp
|
||||
/config/database.yml
|
||||
/config/configuration.yml
|
||||
/config/additional_environment.rb
|
||||
|
||||
/files/*
|
||||
/log/*
|
||||
/public/tmp/*
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
if Rails.env.production?
|
||||
config.cache_store = :redis_store, 'redis://localhost:6379/0/cache', { expires_in: 90.minutes }
|
||||
end
|
Loading…
Reference in New Issue