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
By default, ioredis will try to reconnect when the connection to Redis is lost except when the connection is closed manually by redis.disconnect() or redis.quit().
The text was updated successfully, but these errors were encountered:
Runtime
nodejs
Runtime version
20
Module version
7.0.2
Used with
hapi
Any other relevant information
No response
How can we help?
Is it possible make it auto reconnect redis on startup?
As it is now it will throw and crash Hapi if connection to redis fails.
Noticed that there is a
client.disconnect
that occurs if the initial connect fails that causes it to throw.Could that disconnect be optional or removed? https://github.com/hapijs/catbox-redis/blob/master/lib/index.js#L112
From IORedis docs:
The text was updated successfully, but these errors were encountered: