Skip to content

Commit

Permalink
Merge pull request #81 from duboisp/master
Browse files Browse the repository at this point in the history
APPS-142 - Redis prod setting - add host and port
  • Loading branch information
duboisp authored Apr 13, 2022
2 parents 3b1767d + d020dea commit 42d8eaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/subscriptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ if (process.env.NODE_ENV === 'prod') {
{ host: redisSentinel2Uri, port: redisSentinel2Port }
],
name: redisMasterName,
host: redisUri,
port: redisPort
}
}
} else {
Expand Down
2 changes: 2 additions & 0 deletions notifyQueue.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ if (process.env.NODE_ENV === 'prod') {
{ host: redisSentinel2Uri, port: redisSentinel2Port }
],
name: redisMasterName,
host: redisUri,
port: redisPort
}
}
} else {
Expand Down

0 comments on commit 42d8eaa

Please sign in to comment.