X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ee411e5154cedd644fe54ccb29d64b6d18cb9bde..7c3a4b497e8f99d2642260ec604d111f4a866b01:/config/environments/production.rb diff --git a/config/environments/production.rb b/config/environments/production.rb index 95b45339c..e517d2245 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -49,8 +49,7 @@ OpenStreetMap::Application.configure do # Use a different cache store in production if defined?(MEMCACHE_SERVERS) - MEMCACHE = Memcached::Rails.new(MEMCACHE_SERVERS, :binary_protocol => true) - config.cache_store = :mem_cache_store, MEMCACHE + config.cache_store = :mem_cache_store, MemCache.new(:namespace => "rails:cache") end # Enable serving of images, stylesheets, and JavaScripts from an asset server