CompressedMemCacheStore has been replaced by MemCacheStore
This commit is contained in:
parent
ac48c6a16f
commit
21e3047ba6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue