We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c33f08 commit 5b65919Copy full SHA for 5b65919
src/rt/monitor.rs
@@ -48,7 +48,7 @@ pub fn spawn_thread() {
48
49
loop {
50
running.lock().unwrap().set(false);
51
- thread::sleep(Duration::from_millis(PROBING_DURATION_MS));
+ thread::sleep(Duration::from_millis(PROBING_DURATION_MS * 2));
52
if !running.lock().unwrap().get() {
53
eprintln!(
54
"WARNING: You are blocking the runtime, please use spawn_blocking"
0 commit comments