-
-
Notifications
You must be signed in to change notification settings - Fork 388
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
HIKARI maxLifetime vs MariaDB wait_timeout #736
Comments
Proposal for BeanConfiguration.java:
add M. |
Hi, I have the same issue as MysticJay describes. I've two questions about it:
Kind regards, Stephan |
hey all, thanks for bringing this up. i understand the problem and am okay with the suggested solution. i will make the changes shortly. |
referenced commit addresses the issue, and i am therefore closing it |
Checklist
Specifications
in the logs I find this:
The advise found in Google is that the connection is terminated from MariaDB within 600 sec, while the value
maxLifetime
is bigger than those 600s.maxLifetime
(in ms) should be set to 590000 to have a smaller value and force SteVe to reconnect before trying again.(https://stackoverflow.com/questions/46830159/hikari-failed-to-validate-connection-because-connection-is-closed)
you may also check here:
https://joshefin.xyz/mariadb-hikaricp-and-connection-lifetime/
spring.datasource.hikari.max-lifetime = 580000
Where should this value be configured?
The text was updated successfully, but these errors were encountered: