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
Does HikariCP supports connection retries ? #907
Comments
@marodriguez-llbean HikariCP continually tries reconnection in the background in the case of failures, with a slight time back-off if it keeps failing -- dropping down to once every 2 seconds or so. |
in a case like the one described on this stacktrace, the app becomes unusable due to the error, do I need to add any HikariCP settings to keep retrying?
|
Hi, I'm using HikariCP together with JPA/Hibernate and jetty server, running on the cloud and I'm noticing sometimes the app is getting timeouts connecting to the database. Is there any built-in features in Hikari to try to reconnect automatically in those cases ?
thanks
Environment
The text was updated successfully, but these errors were encountered: