mirror of
https://github.com/Shadowfita/docmost.git
synced 2025-11-24 05:31:19 +10:00
fix: disconnect Redis health checker (#351)
This commit is contained in:
@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user