Skip to content

Commit

Permalink
Switch to using memcache not dalli for cache
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhallett committed Apr 10, 2024
1 parent 82f853a commit 538eedc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class Application < Rails::Application
end

# Use memcached as cache store
config.cache_store = :dalli_store, nil, { namespace: ENV["APPLICATION"], compress: true }
config.cache_store = :mem_cache_store, ENV["MEMCACHE_SERVERS"], { namespace: ENV["APPLICATION"] }

# compress responses with deflate or gzip
config.middleware.use Rack::Deflater
Expand Down

0 comments on commit 538eedc

Please sign in to comment.