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
Added this best practice for Node.js from this link (https://gist.github.com/JonCole/925630df72be1351b21440625ff2671f#file-redis-bestpractices-node-js-md). When we don't get a response within 30 seconds, we disconnect and reconnect Redis. The issue here is, after calling quit, no other code is executing. I'm not getting the Redis disconnected message in logger, so we're only throwing "Redis is not connected" message. Only a restart will fix the issue. Can anyone tell what the issue is here and what we can do to fix this?
Description
Added this best practice for Node.js from this link (https://gist.github.com/JonCole/925630df72be1351b21440625ff2671f#file-redis-bestpractices-node-js-md). When we don't get a response within 30 seconds, we disconnect and reconnect Redis. The issue here is, after calling quit, no other code is executing. I'm not getting the Redis disconnected message in logger, so we're only throwing "Redis is not connected" message. Only a restart will fix the issue. Can anyone tell what the issue is here and what we can do to fix this?
Node.js Version
16.13.0
Redis Server Version
No response
Node Redis Version
4.5.1
Platform
Linux
Logs
No response
The text was updated successfully, but these errors were encountered: