This repository has been archived by the owner on Feb 21, 2023. It is now read-only.
Add support to socket timeout, health check and keepalive #735
Labels
enhancement
help wanted
need investigation
Need to look into described issue.
resolved-via-latest
This indicates this issue is either resolved or invalid as of the latest version.
Hello,
When TCP connection lost without proper disconnection, existing redis connection may become broken and the next request may take a long time before it reaches system default socket timeout, which is around ~15 mins with default linux config ( https://stackoverflow.com/questions/20403118/tcp-ceases-retransmissions-before-reaching-the-default-of-15-attempts-after-phy ).
In this situation, redis operation will be blocked for a long time before an exception is thrown. This is observed in 1.3.1
With issue #184 , connection timeout is added. It would be nice to support socket timeout, socket keepalive and health check to better handle connection loss.
Thanks!
The text was updated successfully, but these errors were encountered: