From cc7dbaa3a18d54ef4735efa4c54c32a24cdf7e5b Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Mon, 14 Feb 2022 13:37:05 -0500 Subject: [PATCH] fix oopsie from #3466 (#3475) I created `uv__backend_timeout` to be used internally for this reason, then forgot to use it, resulting in flaky tests and excessive trips around the uv_run loop. Fix #3472 --- src/unix/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/core.c b/src/unix/core.c index e14c327ea..9a289edfa 100644 --- a/src/unix/core.c +++ b/src/unix/core.c @@ -385,7 +385,7 @@ int uv_run(uv_loop_t* loop, uv_run_mode mode) { timeout = 0; if ((mode == UV_RUN_ONCE && !ran_pending) || mode == UV_RUN_DEFAULT) - timeout = uv_backend_timeout(loop); + timeout = uv__backend_timeout(loop); uv__io_poll(loop, timeout);