X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/832b96b75ac05177e6baad7b414066ccfd7cfa51..21e3047ba6ed5c77962f91b02f593a460785f1c6:/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