redis
redis copied to clipboard
Connection stops responding
For some reason, my Redis connections randomly stop responding, even though redis.isConnected
and redis.isClosed
return true and false, indicating that the connection is still open. When running any commands though, such as await pipeline.flush()
, the promise doesn't resolve and the command isn't executed. Running CLIENT LIST
on the Redis server when the connection begins to stop responding to any requests still shows the client connected, though, after a while, the client also is removed from the CLIENT LIST
output. Is this an issue on my end?
I also observed a similar issue with 0.30.0. @6ixfalls curious if you had any workarounds for this?
I did not have any workarounds, the project I was using this on was scrapped so I haven't checked since this issue.
Two connections doesn't work, the'll hang as soon as there's a broken pipe since it cannot re-connect.