@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user