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

Change default policy to HealthyOrPanic #2171

Merged
merged 1 commit into from
Jun 28, 2023
Merged

Change default policy to HealthyOrPanic #2171

merged 1 commit into from
Jun 28, 2023

Conversation

Tratcher
Copy link
Member

The current default policy is HealthyOrUnknown, excluding unhealthy endpoints and returning a 503 when none are available.

Health is only checked periodically so a destination may have recovered before the next check. In the case that we don't know of any healthy destinations it's preferable to at least try proxying to a potentially unhealthy one, the request may fail either way. This will also give passive health checks more ongoing data.

@Tratcher Tratcher added this to the YARP 2.x milestone Jun 26, 2023
@Tratcher Tratcher requested a review from MihaZupan as a code owner June 26, 2023 20:57
@Tratcher Tratcher self-assigned this Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants