From b544e0904573df6647dc13fef1e447a0bd6afb81 Mon Sep 17 00:00:00 2001 From: moustachu Date: Mon, 18 Dec 2023 12:29:16 +0100 Subject: [PATCH] use mem_cache-store instead of redis_cache_store --- config/environments/production.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 5744702..3b0e3c4 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -116,10 +116,7 @@ config.active_job.queue_adapter = :sidekiq - config.cache_store = :redis_cache_store, { - url: ENV["REDIS_URL"], - namespace: "#{ENV["APP_NAME"]}-memory-store" - } + config.cache_store = :mem_cache_store, ENV.fetch("MEMCACHE_SERVERS", "localhost:11211") if ENV["CACHE_ASSETS"].present? config.public_file_server.headers = {