Skip to content

Commit 5b65919

Browse files
committed
fix probing duration
1 parent 2c33f08 commit 5b65919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rt/monitor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pub fn spawn_thread() {
4848

4949
loop {
5050
running.lock().unwrap().set(false);
51-
thread::sleep(Duration::from_millis(PROBING_DURATION_MS));
51+
thread::sleep(Duration::from_millis(PROBING_DURATION_MS * 2));
5252
if !running.lock().unwrap().get() {
5353
eprintln!(
5454
"WARNING: You are blocking the runtime, please use spawn_blocking"

0 commit comments

Comments
 (0)