X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f778b61c0358ad2d0593be4040406a418ae46579..04017d0e7a827568f8124e92c0c53b265d23eb87:/config/environments/production.rb diff --git a/config/environments/production.rb b/config/environments/production.rb index e517d2245..56c33ec98 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -49,7 +49,7 @@ OpenStreetMap::Application.configure do # Use a different cache store in production if defined?(MEMCACHE_SERVERS) - config.cache_store = :mem_cache_store, MemCache.new(:namespace => "rails:cache") + config.cache_store = :mem_cache_store, MemCache.new(:namespace => "rails:cache", :no_block => true, :buffer_requests => true, :noreply => true) end # Enable serving of images, stylesheets, and JavaScripts from an asset server