Skip to content

Commit

Permalink
Merge pull request #2151 from zmcNotafraid/hotfix-rack-cache
Browse files Browse the repository at this point in the history
hotfix: commit rack cache
  • Loading branch information
zmcNotafraid authored Aug 27, 2024
2 parents 6fe545a + 07a8708 commit 3df06e4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@
# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false

client = Dalli::Client.new(ENV["MEMCACHED_URL"],
value_max_bytes: 10485760)
config.action_dispatch.rack_cache = {
verbose: true,
metastore: client,
entitystore: client,
}
# client = Dalli::Client.new(ENV["MEMCACHED_URL"],
# value_max_bytes: 10485760)
# config.action_dispatch.rack_cache = {
# verbose: true,
# metastore: client,
# entitystore: client,
# }
end

0 comments on commit 3df06e4

Please sign in to comment.