- Checkpoint

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-09-09 11:39:39 -04:00
parent 03e8b62e4f
commit 08d8a4f7dc

View File

@@ -116,6 +116,7 @@ const main = async () => {
// Connect Redis clients
try {
console.log("Establishing Redis Connection...");
await Promise.all([pubClient.connect(), subClient.connect()]);
} catch (redisError) {
logger.log(`Failed to connect to Redis`, "ERROR", "redis", redisError);