ioredis
ioredis copied to clipboard
Implement avoid iddle connections for Azure Redis
In redis Azure happens that the conneciton goes iddle after 10 minutes of inactivity and takes time to reconnect. the recommendation is to add a ping to keep the connection alive. https://gist.github.com/JonCole/925630df72be1351b21440625ff2671f#file-redis-bestpractices-node-js-md
ToDo: Create an auto ping mechanism to prevent the connection from to be iddle
tcp keepalives could also fix that. But there's currently a bug with that configuration: #1339