From 03a078a3a0f2b9c4421cb2c2205e3989dcf4a4e5 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Sat, 29 May 2021 12:00:52 +0100 Subject: [PATCH] Remove namespacing in cache config --- config/environments/development.rb | 1 - config/environments/production.rb | 1 - config/environments/staging.rb | 1 - 3 files changed, 3 deletions(-) diff --git a/config/environments/development.rb b/config/environments/development.rb index 3b22ee205f..89d7854fe1 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -15,7 +15,6 @@ Openfoodnetwork::Application.configure do config.cache_store = :redis_cache_store, { driver: :hiredis, url: ENV.fetch("OFN_REDIS_URL", "redis://localhost:6379/0"), - namespace: "cache", expires_in: 90.minutes } end diff --git a/config/environments/production.rb b/config/environments/production.rb index 472f47c050..e70ed730e0 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -45,7 +45,6 @@ Openfoodnetwork::Application.configure do config.cache_store = :redis_cache_store, { driver: :hiredis, url: ENV.fetch("OFN_REDIS_URL", "redis://localhost:6379/0"), - namespace: "cache", reconnect_attempts: 1 } diff --git a/config/environments/staging.rb b/config/environments/staging.rb index 472f47c050..e70ed730e0 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -45,7 +45,6 @@ Openfoodnetwork::Application.configure do config.cache_store = :redis_cache_store, { driver: :hiredis, url: ENV.fetch("OFN_REDIS_URL", "redis://localhost:6379/0"), - namespace: "cache", reconnect_attempts: 1 }