X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/af13c423221bec074e8f17bf0cc77ecc9e0c98c6..f778b61c0358ad2d0593be4040406a418ae46579:/config/initializers/memcached.rb diff --git a/config/initializers/memcached.rb b/config/initializers/memcached.rb deleted file mode 100644 index 7af419112..000000000 --- a/config/initializers/memcached.rb +++ /dev/null @@ -1,9 +0,0 @@ -if defined?(PhusionPassenger) and defined?(MEMCACHE_SERVERS) - PhusionPassenger.on_event(:starting_worker_process) do |forked| - if forked - MEMCACHE = MEMCACHE.clone - RAILS_CACHE = ActiveSupport::Cache::MemCacheStore.new(MEMCACHE, :compress => true) - ActionController::Base.cache_store = RAILS_CACHE - end - end -end