mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
add redis options inc host ip to error message
This commit is contained in:
parent
b2d6fb77db
commit
6600c2e050
2 changed files with 2 additions and 1 deletions
|
@ -49,6 +49,7 @@ module.exports = RedisSharelatex =
|
||||||
console.error {
|
console.error {
|
||||||
err: error,
|
err: error,
|
||||||
key: client.options?.key # only present for cluster
|
key: client.options?.key # only present for cluster
|
||||||
|
clientOptions: client.options
|
||||||
}, "client timed out"
|
}, "client timed out"
|
||||||
callback(error)
|
callback(error)
|
||||||
, RedisSharelatex.HEARTBEAT_TIMEOUT
|
, RedisSharelatex.HEARTBEAT_TIMEOUT
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "redis-sharelatex",
|
"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",
|
"description": "Redis wrapper for node which will either use cluster, sentinal, or single instance redis",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"author": "ShareLaTeX",
|
"author": "ShareLaTeX",
|
||||||
|
|
Loading…
Reference in a new issue