缓存方式改为redis_store

yuanke_cache
yuanke 9 years ago
parent cdb7004820
commit e1e1e9ecdf

@ -24,7 +24,7 @@ RedmineApp::Application.configure do
# config.cache_store = :file_store, "#{Rails.root }/files/cache_store/"
# config.cache_store = :redis_store, 'redis://localhost:6379/0/cache', { expires_in: 90.minutes }
#
config.cache_store = :redis_store, 'redis://127.0.0.1:6379/0/cache', { expires_in: 1.minutes }
# Enable serving of images, stylesheets, and javascripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com"

Loading…
Cancel
Save