X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2fd52ddf6024ebdbebf451524836e67f7b4f07a2..43bbb3f6518a1dcde1359bb0452666853f40802b:/config/initializers/memcached.rb diff --git a/config/initializers/memcached.rb b/config/initializers/memcached.rb index 03066a8ab..7af419112 100644 --- a/config/initializers/memcached.rb +++ b/config/initializers/memcached.rb @@ -2,7 +2,7 @@ if defined?(PhusionPassenger) and defined?(MEMCACHE_SERVERS) PhusionPassenger.on_event(:starting_worker_process) do |forked| if forked MEMCACHE = MEMCACHE.clone - RAILS_CACHE = ActiveSupport::Cache::CompressedMemCacheStore.new(MEMCACHE) + RAILS_CACHE = ActiveSupport::Cache::MemCacheStore.new(MEMCACHE, :compress => true) ActionController::Base.cache_store = RAILS_CACHE end end