From 93f5ab88a9ef43ade46df6236c1f43e387a1d560 Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Tue, 22 Aug 2023 09:20:45 -0500 Subject: [PATCH] Increase delay before checking the uv loop This increases the delay slightly before checking whether all I/O tasks have finished. This may reduce the number of "spurious" warnings during precompilation. Fixes #50873 --- src/jl_uv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jl_uv.c b/src/jl_uv.c index 281dd798dbb36..a7f0caaa3ca94 100644 --- a/src/jl_uv.c +++ b/src/jl_uv.c @@ -78,7 +78,7 @@ void jl_wait_empty_begin(void) uv_run(jl_io_loop, UV_RUN_NOWAIT); uv_timer_init(jl_io_loop, &wait_empty_worker); uv_update_time(jl_io_loop); - uv_timer_start(&wait_empty_worker, wait_empty_func, 10, 15000); + uv_timer_start(&wait_empty_worker, wait_empty_func, 30, 15000); uv_unref((uv_handle_t*)&wait_empty_worker); } JL_UV_UNLOCK();