You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to implement a healthCheck route on top of ioredis client. I am doing also tests for it like: async healthCheck(): Promise<HealthCheck> { try { await this.client.ping(); return HealthCheck.UP; } catch (_e) { return HealthCheck.DOWN; } }
The issue with .ping() is that always returns 'PONG' even though I have called client.disconnect()
The text was updated successfully, but these errors were encountered:
I am trying to implement a healthCheck route on top of ioredis client. I am doing also tests for it like:
async healthCheck(): Promise<HealthCheck> { try { await this.client.ping(); return HealthCheck.UP; } catch (_e) { return HealthCheck.DOWN; } }
The issue with .ping() is that always returns 'PONG' even though I have called
client.disconnect()
The text was updated successfully, but these errors were encountered: