mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-27 06:05:19 +00:00
Remove namespacing in cache config
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user