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

Reset "down" flag if successful request is made #2

Open
mboynes opened this issue Oct 27, 2019 · 0 comments
Open

Reset "down" flag if successful request is made #2

mboynes opened this issue Oct 27, 2019 · 0 comments

Comments

@mboynes
Copy link
Contributor

mboynes commented Oct 27, 2019

If a resource is flagged as "down" but a request is still made (see below for how that might happen), and that request was successful, the appropriate "down" flags should be removed.

If the attempt_uncached_request_when_down option is used, then an uncached request will still be sent even though the resource, regardless of scope, is recorded as being down. In that scenario, a successful request could remove the "down" flag.

If the scope_for_availability_check option is set to anything more specific than "host", a request may be made to a resource even though some component of it is recorded as being "down". For instance, a request could be made to https://example.com/hello/ due to this option, even though a flag is set indicating that the host example.com is down. If that request were successful, the flag for example.com could be removed.

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