mirror of
https://github.com/docmost/docmost.git
synced 2025-11-13 19:42:39 +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();
|
||||
redis.disconnect();
|
||||
return this.getStatus(key, true);
|
||||
} catch (e) {
|
||||
this.logger.error(e);
|
||||
|
||||
Reference in New Issue
Block a user