From e41a75e7436a059ab963c5db7b62ca524cacc4e5 Mon Sep 17 00:00:00 2001 From: Apher Date: Thu, 16 Jul 2026 21:05:17 +0000 Subject: [PATCH] Do not connect to redis server in ensureGroup --- index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/index.js b/index.js index 4c2c4e2..187cda7 100644 --- a/index.js +++ b/index.js @@ -16,8 +16,6 @@ redis.quit = async () => { } redis.ensureGroup = async (stream, group) => { - await redis.connect(); - try { await redis.client.xGroupCreate(stream, group, "0", {MKSTREAM: true});