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 have connected my socket.io server to Redis adapter.
I have set up retry_strategy for Redis to try reconnecting every 5 seconds.
What happens if the Redis server is down?
Does it break my socket.io functionality? Does it crash my application?
Should I take some action/handle errors to prevent the app from crashing on socket.io side?
I have already set up error handlers for subClient and pubClient.
Currently, I see that, I have these logs:
Error: Redis connection in broken state: connection timeout exceeded.
at RedisClient.connection_gone
at Socket.<anonymous>
at Socket.EventEmitter.emit