fix: disconnect Redis health checker (#351)

This commit is contained in:
ceroma
2024-09-29 10:00:24 +01:00
committed by GitHub
parent e9e668bd39
commit eaa80a5546
@@ -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);