From d020deaf9b7e8a1760edeaf94e1fa3f3620da593 Mon Sep 17 00:00:00 2001 From: Pierre Dubois Date: Wed, 13 Apr 2022 11:22:16 -0400 Subject: [PATCH] APPS-142 - Redis prod setting - add host and port --- controllers/subscriptions.js | 2 ++ notifyQueue.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/controllers/subscriptions.js b/controllers/subscriptions.js index 71b62d6..d4c6eac 100644 --- a/controllers/subscriptions.js +++ b/controllers/subscriptions.js @@ -53,6 +53,8 @@ if (process.env.NODE_ENV === 'prod') { { host: redisSentinel2Uri, port: redisSentinel2Port } ], name: redisMasterName, + host: redisUri, + port: redisPort } } } else { diff --git a/notifyQueue.js b/notifyQueue.js index 69c4980..329d386 100644 --- a/notifyQueue.js +++ b/notifyQueue.js @@ -20,6 +20,8 @@ if (process.env.NODE_ENV === 'prod') { { host: redisSentinel2Uri, port: redisSentinel2Port } ], name: redisMasterName, + host: redisUri, + port: redisPort } } } else {