fix: disconnect Redis health checker (#351)

This commit is contained in:
ceroma
2024-09-29 06:00:24 -03:00
committed by GitHub
parent e9e668bd39
commit eaa80a5546

View File

@ -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);