From 53de3049493ef79e02af40e8e450e2056c134155 Mon Sep 17 00:00:00 2001 From: Rogger Valverde Date: Mon, 12 Aug 2024 21:25:41 -0600 Subject: [PATCH] fix(connection): remove unnecessary process.env.CI reference (#2705) --- src/classes/redis-connection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/redis-connection.ts b/src/classes/redis-connection.ts index bc7e69a222..80150f08c0 100644 --- a/src/classes/redis-connection.ts +++ b/src/classes/redis-connection.ts @@ -310,7 +310,7 @@ export class RedisConnection extends EventEmitter { await this.initializing; } if (!this.shared) { - if (status == 'initializing' || force || process.env.CI) { + if (status == 'initializing' || force) { // If we have not still connected to Redis, we need to disconnect. this._client.disconnect(); } else {