aboutsummaryrefslogtreecommitdiffhomepage
path: root/pingora-load-balancing/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'pingora-load-balancing/src/lib.rs')
-rw-r--r--pingora-load-balancing/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/pingora-load-balancing/src/lib.rs b/pingora-load-balancing/src/lib.rs
index 4009dc1..4a7433e 100644
--- a/pingora-load-balancing/src/lib.rs
+++ b/pingora-load-balancing/src/lib.rs
@@ -266,6 +266,7 @@ impl Backends {
let flipped =
h.observe_health(errored.is_none(), check.health_threshold(errored.is_none()));
if flipped {
+ check.health_status_change(backend, errored.is_none()).await;
if let Some(e) = errored {
warn!("{backend:?} becomes unhealthy, {e}");
} else {