[router] change grpc client from mutable to clone (#11394)

This commit is contained in:
Simo Lin
2025-10-09 11:00:24 -07:00
committed by GitHub
parent b520958ec8
commit 88bb627d0d
2 changed files with 18 additions and 14 deletions
+1 -1
View File
@@ -554,7 +554,7 @@ impl Worker for BasicWorker {
return Ok(false);
};
let mut client = grpc_client.lock().await;
let client = grpc_client.lock().await;
match time::timeout(timeout, client.health_check()).await {
Ok(Ok(resp)) => {
tracing::debug!(