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:
rgarcia
2018-07-05 15:39:38 +02:00
committed by decabeza
parent b5b35da708
commit 2995734762
2 changed files with 2 additions and 2 deletions

View File

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

View File

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