Skip to content

Commit 21c5c48

Browse files
author
Stjepan Glavina
committed
Lower the timeout to 1 second
1 parent 6677d52 commit 21c5c48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/task/spawn_blocking.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ static POOL: Lazy<Pool> = Lazy::new(|| {
6868

6969
fn start_thread() {
7070
SLEEPING.fetch_add(1, Ordering::SeqCst);
71-
let timeout = Duration::from_secs(10);
71+
let timeout = Duration::from_secs(1);
7272

7373
thread::Builder::new()
7474
.name("async-std/blocking".to_string())

0 commit comments

Comments
 (0)