]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/memcached.rb
Correct misspellings of CC BY[-SA]
[rails.git] / config / initializers / memcached.rb
index 03066a8abec965d27a1f3260d0f0cd9371bb1660..7af419112fe316be04ba58d78f636b546cd046cd 100644 (file)
@@ -2,7 +2,7 @@ if defined?(PhusionPassenger) and defined?(MEMCACHE_SERVERS)
   PhusionPassenger.on_event(:starting_worker_process) do |forked|
     if forked
       MEMCACHE = MEMCACHE.clone
   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
       ActionController::Base.cache_store = RAILS_CACHE
     end
   end