Skip to content

Commit

Permalink
address comments by @minwoox
Browse files Browse the repository at this point in the history
  • Loading branch information
ikhoon committed Jan 14, 2025
1 parent 6a88be8 commit 5fd2e9f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,12 @@ private void destroyOldContexts(HealthCheckContextGroup contextGroup) {
}

private void updateHealth(Endpoint endpoint, boolean health) {
if (isClosing()) {
logger.debug("HealthCheckedEndpointGroup is closed. Ignoring health update for: {}. (healthy: {})",
endpoint, health);
return;
}

final boolean updated;
// A healthy endpoint should be a valid checker context.
if (health && findContext(endpoint) != null) {
Expand Down

0 comments on commit 5fd2e9f

Please sign in to comment.