From f3e406a6ef99af28268cf7f038c83b92fa7a8c77 Mon Sep 17 00:00:00 2001 From: smtmfft Date: Tue, 15 Oct 2024 10:07:03 +0000 Subject: [PATCH] refine info print --- host/src/proof.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/host/src/proof.rs b/host/src/proof.rs index 9223a5866..c6184d3c9 100644 --- a/host/src/proof.rs +++ b/host/src/proof.rs @@ -211,8 +211,8 @@ impl ProofActor { } result = Self::handle_aggregate(request_clone, &opts) => { match result { - Ok(()) => { - info!("Host handling message"); + Ok(status) => { + info!("Host handling message: {status:?}"); } Err(error) => { error!("Worker failed due to: {error:?}"); @@ -244,7 +244,7 @@ impl ProofActor { self.run_task(proof_request).await; } else { info!( - "Task concurrency limit reached, current running {running_task_count:?}, pending: {:?}", + "Task concurrency status: running:{running_task_count:?}, add {proof_request:?} to pending list[{:?}]", self.pending_tasks.lock().await.len() ); let mut pending_tasks = self.pending_tasks.lock().await;