-
Notifications
You must be signed in to change notification settings - Fork 48
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
(POOLER-184) Pool manager retry and exit on failure #398
Conversation
I tested it locally by pointing to localhost but without a redis running, and it returned the error after 1min20 seconds. So the retry works, but I cannot reproduce the initial ticket findings that it would keep running after hitting the stack trace.
|
Adding a reconnect retry for redis, which by default would retry 10 times, for a total wait time of ~80 seconds
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm +1, but had a comment about preferring we move the default for 'redis_connection_attempts' to vmpooler.rb.
support for an ENV var. Update the example yaml file with the new config
Adding a reconnect retry for redis, which by default would retry 10 times,
for a total wait time of ~80 seconds