From c0524a863a23640925d7413af6647c2b3cf92078 Mon Sep 17 00:00:00 2001 From: junv Date: Thu, 20 Feb 2014 10:40:33 +0800 Subject: [PATCH] try to disable cache to take heroku server run normally --- config/environments/production.rb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 0f6d08f..4972274 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -69,11 +69,13 @@ Libr::Application.configure do config.eager_load = true - client = Dalli::Client.new(ENV["MEMCACHIER_SERVERS"], :value_max_bytes => 10485760) - config.action_dispatch.rack_cache = { - :metastore => client, - :entitystore => client - } + #client = Dalli::Client.new(ENV["MEMCACHIER_SERVERS"], :value_max_bytes => 10485760) + #config.action_dispatch.rack_cache = { + # :metastore => client, + # :entitystore => client + #} + + config.action_dispatch.rack_cache = nil end