try to disable cache to take heroku server run normally

This commit is contained in:
2014-02-20 10:40:33 +08:00
parent 20d17f37bc
commit c0524a863a
+7 -5
View File
@@ -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