From 2af7a393435c81febd83fdc867c34319a1c422eb Mon Sep 17 00:00:00 2001 From: dongbin86 Date: Tue, 26 Nov 2024 22:10:27 +0800 Subject: [PATCH] update --- src/core/flow.rs | 2 +- src/core/periodic.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/flow.rs b/src/core/flow.rs index 31abe23..6899cbb 100644 --- a/src/core/flow.rs +++ b/src/core/flow.rs @@ -53,7 +53,7 @@ where loop { let shutdown = clone.shutdown.read().await; if *shutdown { - tracing::info!("Received SIGINT (Ctrl+C), Stop to fetch pending tasks."); + tracing::info!("Stop to fetch pending tasks."); Self::send_poison(processors.clone()).await; break; } diff --git a/src/core/periodic.rs b/src/core/periodic.rs index fd66b8d..351ccc9 100644 --- a/src/core/periodic.rs +++ b/src/core/periodic.rs @@ -76,7 +76,7 @@ impl PeriodicTask { match signal::ctrl_c().await { Ok(()) => { info!( - "Received SIGINT (Ctrl+C), shutting down periodic task '{}'...", + "Shutting down periodic task '{}'...", &self.name ); // Notify the task to shut down.