mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 00:02:23 +00:00
nit compile
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user