From: Tom Hughes Date: Thu, 23 Feb 2012 21:43:14 +0000 (+0000) Subject: Pipeline memcache requests to the cache X-Git-Tag: live~5766 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/24a26e015a4389c8b5d9ae6d7d501c63f39c2450?hp=92f667f4885ce630ec9dc76eaf5bc42ebc49cee4 Pipeline memcache requests to the cache --- 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