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

Please add a separate property for loginTimeout #1818

Closed
bananayong opened this issue Jul 31, 2021 · 1 comment
Closed

Please add a separate property for loginTimeout #1818

bananayong opened this issue Jul 31, 2021 · 1 comment

Comments

@bananayong
Copy link
Contributor

Hi, I'm using hikariCP in productions. I am really appreciate for your efforts.

Recently, i experienced failing a pool initialization. the origin of the issue is from connection timeout.
In database high load, db connection was made by slow. I could increase hikari connectionTimeout but I do not want to increase wait time for pool.
Actually, i resolved this issue by setting a system property for driver specific connect timeout
ex) for oracle, -Doracle.net.CONNECT_TIMEOUT
But, for other databases, other properties should be used.

If hikariCP provide a separate property for loginTImeout, It will be convenient.

I know there is a method like com.zaxxer.hikari.HikariDataSource#setLoginTimeout. But it affect only in case that pool is already created.

Thank you!

@bananayong
Copy link
Contributor Author

Please, any feedback.

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

1 participant