diff --git a/backend/windmill-common/src/lib.rs b/backend/windmill-common/src/lib.rs index af34bc3513..a5d9f0cfd2 100644 --- a/backend/windmill-common/src/lib.rs +++ b/backend/windmill-common/src/lib.rs @@ -234,7 +234,7 @@ pub async fn shutdown_signal( let _ = tx.send(); spawn(async move { - tokio::time::sleep(std::time::Duration::from_hours(24 * 7)).await; + tokio::time::sleep(std::time::Duration::from_secs(24 * 7 * 60 * 60)).await; tracing::info!("Forcefully exiting after 7 days"); std::process::exit(1); });