-
Notifications
You must be signed in to change notification settings - Fork 55
Allow override of Vitess HTTP timeout #120
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
Conversation
nickcanz
left a comment
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.
Yep, this looks good!
Question: if you thought about adding the timeout to the clusterSettings.VitessSettings section of config instead and why you chose the top level config?
That's a good question @nickcanz. I think that's probably a better way to go. The only drawback is having to set the timeout per cluster, but someone is going to need that one day |
nickcanz
left a comment
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.
👍 and I like the new signature for the ParseTablets function.
This PR adds the Vitess config param
TimeoutSecsto Freno (default 5 seconds)This new config param controls how long Freno will wait for the Vitess API to return tablet information
cc @drogart / @nickcanz / @gtowey