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