diff --git a/crates/sdk-core/src/worker/mod.rs b/crates/sdk-core/src/worker/mod.rs index 0a5ecd5e1..6082ff77e 100644 --- a/crates/sdk-core/src/worker/mod.rs +++ b/crates/sdk-core/src/worker/mod.rs @@ -997,7 +997,7 @@ impl Worker { // Wait for all permits to be released, but don't totally hang real-world shutdown. tokio::select! { _ = async { self.all_permits_tracker.lock().await.all_done().await } => {}, - _ = tokio::time::sleep(Duration::from_secs(1)) => { + _ = tokio::time::sleep(Duration::from_secs(5)) => { dbg_panic!("Waiting for all slot permits to release took too long!"); } }