From 21e3047ba6ed5c77962f91b02f593a460785f1c6 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 19 Feb 2012 10:43:37 +0000 Subject: [PATCH] CompressedMemCacheStore has been replaced by MemCacheStore --- config/initializers/memcached.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5