[model-gateway] add back router worker health metric and fix init state (#15622)

This commit is contained in:
fzyzcjy
2025-12-23 18:50:38 -08:00
committed by GitHub
parent 4d64f15086
commit 99d3bcdfed
3 changed files with 19 additions and 2 deletions
+1
View File
@@ -588,6 +588,7 @@ impl Worker for BasicWorker {
fn set_healthy(&self, healthy: bool) {
self.healthy.store(healthy, Ordering::Release);
Metrics::set_worker_health(self.url(), healthy);
}
async fn check_health_async(&self) -> WorkerResult<()> {