From eaa80a5546ee15a7019eb19cef7762dbc1396936 Mon Sep 17 00:00:00 2001 From: ceroma <678940+ceroma@users.noreply.github.com> Date: Sun, 29 Sep 2024 06:00:24 -0300 Subject: [PATCH] fix: disconnect Redis health checker (#351) --- apps/server/src/integrations/health/redis.health.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/server/src/integrations/health/redis.health.ts b/apps/server/src/integrations/health/redis.health.ts index 1b4e1f6..044b007 100644 --- a/apps/server/src/integrations/health/redis.health.ts +++ b/apps/server/src/integrations/health/redis.health.ts @@ -22,6 +22,7 @@ export class RedisHealthIndicator extends HealthIndicator { }); await redis.ping(); + redis.disconnect(); return this.getStatus(key, true); } catch (e) { this.logger.error(e);