[model-gateway] add --disable-health-check option to skip worker health probes (#17002)

This commit is contained in:
Ziwen Zhao
2026-01-13 17:28:32 -08:00
committed by GitHub
parent 5938c3b06a
commit cf25852a1d
17 changed files with 159 additions and 14 deletions
@@ -397,6 +397,7 @@ mod tests {
check_interval_secs: 60,
failure_threshold: 3,
success_threshold: 2,
disable_health_check: false,
};
let cb_config = CircuitBreakerConfig {
@@ -489,6 +490,7 @@ mod tests {
check_interval_secs: 45,
failure_threshold: 5,
success_threshold: 3,
disable_health_check: false,
};
let worker = DPAwareWorkerBuilder::new("http://localhost:8080", 3, 16)