Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement avoid iddle connections for Azure Redis #1423

Open
ekelvin opened this issue Aug 25, 2021 · 1 comment
Open

Implement avoid iddle connections for Azure Redis #1423

ekelvin opened this issue Aug 25, 2021 · 1 comment

Comments

@ekelvin
Copy link

ekelvin commented Aug 25, 2021

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

@marcbachmann
Copy link
Collaborator

tcp keepalives could also fix that. But there's currently a bug with that configuration: #1339

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants