diff --git a/examples/demo/src/thread.rs b/examples/demo/src/thread.rs index 84bfd57aa..8a649d50d 100644 --- a/examples/demo/src/thread.rs +++ b/examples/demo/src/thread.rs @@ -13,7 +13,7 @@ pub fn sleep() { eprintln!("Measured time for {duration:?} sleep: {elapsed:?}"); assert!(elapsed >= duration); let expected_delay = if cfg!(debug_assertions) { - Duration::from_millis(20) + Duration::from_millis(100) } else { Duration::from_millis(5) };