From 538eedca02ec212188cd66049e2d03db9e8f348c Mon Sep 17 00:00:00 2001 From: Richard Hallett Date: Wed, 10 Apr 2024 10:16:44 +0200 Subject: [PATCH] Switch to using memcache not dalli for cache --- config/application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/application.rb b/config/application.rb index 0a622677..3014789d 100644 --- a/config/application.rb +++ b/config/application.rb @@ -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