Skip to content

Commit

Permalink
Increase delay before checking the uv loop
Browse files Browse the repository at this point in the history
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
  • Loading branch information
timholy committed Aug 22, 2023
1 parent a4309ca commit 93f5ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jl_uv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 93f5ab8

Please sign in to comment.