From ad53ca609ec2c6d26c820f8a877d1f5c2562308e Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Wed, 22 Oct 2025 08:42:33 +0000 Subject: [PATCH] fix(windows): improve 2nd shutdown monitor --- backend/windmill-common/src/lib.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/backend/windmill-common/src/lib.rs b/backend/windmill-common/src/lib.rs index 7d75f36a91..baea4b1b5b 100644 --- a/backend/windmill-common/src/lib.rs +++ b/backend/windmill-common/src/lib.rs @@ -207,18 +207,17 @@ pub async fn shutdown_signal( #[cfg(any(target_os = "linux", target_os = "macos"))] tokio::select! { _ = terminate() => { - tracing::info!("2nd shutdown monitor received terminate"); + tracing::error!("2nd shutdown monitor received terminate"); }, _ = tokio::signal::ctrl_c() => { - tracing::info!("2nd shutdown monitor received ctrl-c"); + tracing::error!("2nd shutdown monitor received ctrl-c"); }, } #[cfg(not(any(target_os = "linux", target_os = "macos")))] tokio::select! { - _ = tokio::signal::ctrl_c() => {}, - _ = rx.recv() => { - tracing::info!("2nd shutdown monitor received killpill"); + _ = tokio::signal::ctrl_c() => { + tracing::errr!("2nd shutdown monitor received ctrl-c") }, }