-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Handle mysql timeouts #16
Comments
If anyone else runs into this problem, this is a good stopgap:
|
The client will now automatically reconnect whenever a connection ends that was not supposed to be ending. This should fix this issue for most parts. See: 81edd83 I might spend some more time on implementing exponential backoff and things like that. |
First, thank you for all your efforts. Just wondering, is exponential backoff on the roadmap. Various cloud providers are recommending it as a recovery strategy. |
Detect stale connections and automatically re-connect.
The text was updated successfully, but these errors were encountered: