Skip to content

Commit

Permalink
Switch 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
  • Loading branch information
thomasleese committed Jan 14, 2021
1 parent 7f77728 commit 6316183
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Expand Up @@ -104,7 +104,7 @@ GEM
crack (0.4.3)
safe_yaml (~> 1.0.0)
crass (1.0.6)
dalli (2.7.10)
dalli (2.7.11)
debug_inspector (0.0.3)
declarative (0.0.20)
declarative-option (0.1.0)
Expand Down
2 changes: 1 addition & 1 deletion config/environments/production.rb
Expand Up @@ -46,7 +46,7 @@
config.log_tags = [:request_id]

# use memcached in Production
config.cache_store = :dalli_store, nil, { namespace: :local_links_manager }
config.cache_store = :mem_cache_store, { namespace: :local_links_manager }

# 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 6316183

Please sign in to comment.