[model-gateway] add back router worker health metric and fix init state (#15622)
This commit is contained in:
@@ -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<()> {
|
||||
|
||||
Reference in New Issue
Block a user