mirror of
https://github.com/wahyd4/Libr.git
synced 2026-08-09 04:46:07 +10:00
try to disable cache to take heroku server run normally
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user