Merge pull request #10 from overleaf/ho-improve-health-check-error

add redis options inc host ip to error message
This commit is contained in:
Henry Oswald 2019-05-30 10:15:36 +01:00 committed by GitHub
commit fd6d52eef7
2 changed files with 2 additions and 1 deletions

View file

@ -49,6 +49,7 @@ module.exports = RedisSharelatex =
console.error {
err: error,
key: client.options?.key # only present for cluster
clientOptions: client.options
}, "client timed out"
callback(error)
, RedisSharelatex.HEARTBEAT_TIMEOUT

View file

@ -1,6 +1,6 @@
{
"name": "redis-sharelatex",
"version": "1.0.7",
"version": "1.0.8",
"description": "Redis wrapper for node which will either use cluster, sentinal, or single instance redis",
"main": "index.js",
"author": "ShareLaTeX",