Skip to content

Comments

fix: round robin route provider returns all routes as healthy#704

Draft
r-birkner wants to merge 1 commit intomainfrom
rjb/fix-health-of-round-robin-route-provider
Draft

fix: round robin route provider returns all routes as healthy#704
r-birkner wants to merge 1 commit intomainfrom
rjb/fix-health-of-round-robin-route-provider

Conversation

@r-birkner
Copy link
Contributor

Description

Until now, the round robin and URL route provider only returned the number of URLs, but didn't consider any of them to be healthy. This has an impact on the users of that route provider (e.g., ic-gateway). The ic-gateway only considers itself healthy if the route provider has at least one healthy route. Since RoundRobinRouteProvider and Url do not health check their routes, we should consider all the available routes as healthy.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

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

Successfully merging this pull request may close these issues.

1 participant