From 24a26e015a4389c8b5d9ae6d7d501c63f39c2450 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 23 Feb 2012 21:43:14 +0000 Subject: [PATCH 1/1] Pipeline memcache requests to the cache --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.2