Skip to content

Commit

Permalink
Switch from DalliStore to MemcacheStore
Browse files Browse the repository at this point in the history
This fixes an issue where the Dalli store is not supported in Rails 6.1: petergoldstein/dalli#771, cf. alphagov/local-links-manager#751 and alphagov/collections#2287
  • Loading branch information
benjamineskola committed Jul 29, 2021
1 parent 28a9e92 commit eae8178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

# Use a different cache store in production.
# config.cache_store = :mem_cache_store
config.cache_store = :dalli_store, nil, { namespace: :government_frontend, compress: true }
config.cache_store = :mem_cache_store, nil, { namespace: :government_frontend, compress: true }

# Use a real queuing backend for Active Job (and separate queues per environment).
# config.active_job.queue_adapter = :resque
Expand Down

0 comments on commit eae8178

Please sign in to comment.