diff --git a/examples/examples/runtime_update_async.rs b/examples/examples/runtime_update_async.rs index 27a9afe1b..4de20e52f 100644 --- a/examples/examples/runtime_update_async.rs +++ b/examples/examples/runtime_update_async.rs @@ -80,7 +80,7 @@ async fn main() { // To prevent blocking forever we create another future that cancels the // wait after some time tokio::spawn(async move { - tokio::time::sleep(std::time::Duration::from_secs(5)).await; + tokio::time::sleep(std::time::Duration::from_secs(20)).await; cloned_token.cancel(); println!("Cancelling wait for runtime update"); });