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 }