From df9213e8120bd3e49eaeaaf0ff28f647a8b87fa6 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Sat, 29 May 2021 13:12:18 +0100 Subject: [PATCH] Bump port for new caching instance --- config/environments/production.rb | 2 +- config/environments/staging.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index e70ed730e0..9d110a9ca8 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -44,7 +44,7 @@ Openfoodnetwork::Application.configure do # Use a different cache store in production config.cache_store = :redis_cache_store, { driver: :hiredis, - url: ENV.fetch("OFN_REDIS_URL", "redis://localhost:6379/0"), + url: ENV.fetch("OFN_REDIS_URL", "redis://localhost:6380/0"), reconnect_attempts: 1 } diff --git a/config/environments/staging.rb b/config/environments/staging.rb index e70ed730e0..9d110a9ca8 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -44,7 +44,7 @@ Openfoodnetwork::Application.configure do # Use a different cache store in production config.cache_store = :redis_cache_store, { driver: :hiredis, - url: ENV.fetch("OFN_REDIS_URL", "redis://localhost:6379/0"), + url: ENV.fetch("OFN_REDIS_URL", "redis://localhost:6380/0"), reconnect_attempts: 1 }