Increase max cache size to 2MB
We have lots of votes in this edition of participatory budgets and the default cache size (1MB) is not enough to hold certain cache fragments
This commit is contained in:
@@ -55,7 +55,7 @@ Rails.application.configure do
|
||||
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
||||
|
||||
# Use a different cache store in production.
|
||||
config.cache_store = :dalli_store
|
||||
config.cache_store = :dalli_store, { value_max_bytes: 2000000 }
|
||||
|
||||
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
||||
# config.action_controller.asset_host = 'http://assets.example.com'
|
||||
|
||||
Reference in New Issue
Block a user