From c1edf64d46fc216374c4ac0a78a3e0556c66b0e1 Mon Sep 17 00:00:00 2001 From: Andy Payne Date: Tue, 25 Jul 2023 16:50:54 +0100 Subject: [PATCH] update redis constructor call --- lib/redis/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redis/index.js b/lib/redis/index.js index 5b154303..d0d503c1 100644 --- a/lib/redis/index.js +++ b/lib/redis/index.js @@ -68,7 +68,7 @@ export async function createRedisInstance(config = getRedisConfiguration()) { options.password = config.password; } - const redis = new Redis(options); + const redis = new Redis.Cluster(options); redis.on('error', error => { console.warn('[Redis] Error connecting', error);