[router][grpc] Support parallel queue puts in grpc_request_manager and remove mutex for grpc_client (#11798)

This commit is contained in:
Chang Su
2025-10-17 20:49:43 -07:00
committed by GitHub
parent 6c7c92eb02
commit ca240eefb4
4 changed files with 30 additions and 27 deletions

View File

@@ -42,8 +42,7 @@ pub async fn get_grpc_client_from_worker(
.map_err(|e| internal_error_message(format!("Failed to get gRPC client: {}", e)))?
.ok_or_else(|| internal_error_static("Selected worker is not configured for gRPC"))?;
let client = client_arc.lock().await.clone();
Ok(client)
Ok((*client_arc).clone())
}
/// Process tool call arguments in messages