]> git.openstreetmap.org Git - rails.git/blobdiff - config/environments/production.rb
Move memcached for caching if enabled regardless of environment
[rails.git] / config / environments / production.rb
index 707202c52225a818be09fa87fc78aad86df9f35c..ccba43daafd5df6a919dae258fac24d94a6c3254 100644 (file)
@@ -58,9 +58,7 @@ OpenStreetMap::Application.configure do
   # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
 
   # Use a different cache store in production.
-  if defined?(MEMCACHE_SERVERS)
-    config.cache_store = :mem_cache_store, MEMCACHE_SERVERS, { :namespace => "rails:cache" }
-  end
+  # config.cache_store = :mem_cache_store
 
   # Configure caching of static assets
   config.action_controller.page_cache_directory = Rails.public_path