fix: disconnect Redis health checker (#351)
This commit is contained in:
parent
e9e668bd39
commit
eaa80a5546
1 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ export class RedisHealthIndicator extends HealthIndicator {
|
||||||
});
|
});
|
||||||
|
|
||||||
await redis.ping();
|
await redis.ping();
|
||||||
|
redis.disconnect();
|
||||||
return this.getStatus(key, true);
|
return this.getStatus(key, true);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.logger.error(e);
|
this.logger.error(e);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue