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

Added parameter initalizationMaxAttempts which controls number of att… #771

Closed
wants to merge 1 commit into from

Conversation

kny78
Copy link

@kny78 kny78 commented Nov 25, 2016

…empts to connect to the database. See issue 770: #770

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 76.474% when pulling 2c27a23 on polpot78:dev into fe4f68a on brettwooldridge:dev.

@brettwooldridge
Copy link
Owner

@polpot78 Thanks for the pull request.

We decided to solve the problem in a slightly different way (e3b79ee and 7bab1a8). The change is to introduce a new property initializationFailTimeout while at the same time deprecating the initializationFailFast property. We'd prefer to avoid a net increase in configuration properties.

Setting initializationFailTimeout=0 mimics initializationFailFast=true. Setting initializationFailTimeout=Long.MAX_VALUE (or any significantly long period) mimics initializationFailFast=false. And of course, setting a relatively short period (eg. minutes or hours) will likely achieve what you were looking for.

@kny78
Copy link
Author

kny78 commented Nov 29, 2016 via email

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

Successfully merging this pull request may close these issues.

None yet

3 participants