Lower the timeout to 1 second

This commit is contained in:
Stjepan Glavina 2019-11-12 00:37:54 +01:00
parent 6677d52c2d
commit 21c5c48cb6

View file

@ -68,7 +68,7 @@ static POOL: Lazy<Pool> = Lazy::new(|| {
fn start_thread() {
SLEEPING.fetch_add(1, Ordering::SeqCst);
let timeout = Duration::from_secs(10);
let timeout = Duration::from_secs(1);
thread::Builder::new()
.name("async-std/blocking".to_string())