-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
clarify interval and timeout for http health check #5071
Conversation
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.
Slight wording change, but thanks this is clearer
Co-Authored-By: opihana <[email protected]>
Thanks @banks, how does it look now? |
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.
Great, thanks!
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.
LGTM
I feel like we can get this merged, @opihana? |
Sorry to give my 2 cents, but I feel like the comment in the source code does not reflect the logic in the source code. Let me quote the block in question (which conveniently is also linked above):
The improved docs describe the source code, so I think it would make sense to correct the comment as well (or remove it - some people might say that that's why we have documentation in separate files, so we don't need [to maintain] comments like this) - I personally think it should just be scratched though, the logic is clear from the code. |
We're going to change the behavior so that we use the user provided timeout rather than restricting it based on the interval. See #6094 |
Fixes #2977
See source code.