diff options
author | Saúl Ibarra Corretgé <saghul@gmail.com> | 2015-01-27 13:40:40 +0100 |
---|---|---|
committer | Rod Vagg <rod@vagg.org> | 2015-01-28 09:52:45 +1100 |
commit | b50fea4d490278b291321e6b96c49cf20bee1552 (patch) | |
tree | 91e5d0102267af81dfcc7aa25c5d9cb6bec6c406 /src/udp_wrap.cc | |
parent | b5166cb7d269cd1bf90d1768f82767b05b9ac1f8 (diff) | |
download | node-new-b50fea4d490278b291321e6b96c49cf20bee1552.tar.gz |
watchdog: fix timeout for early polling return
Switch from running the loop with UV_RUN_ONCE to UV_RUN_DEFAULT, because
it's possible that the poll returns earlier than expected and thus the
timer is not run on a single interation.
The loop is not stopped either from the timer callback or from the async
handle's.
PR-URL: https://github.com/iojs/io.js/pull/622
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Rod Vagg <rod@vagg.org>
Diffstat (limited to 'src/udp_wrap.cc')
0 files changed, 0 insertions, 0 deletions