summaryrefslogtreecommitdiff
path: root/src/udp_wrap.cc
diff options
context:
space:
mode:
authorSaúl Ibarra Corretgé <saghul@gmail.com>2015-01-27 13:40:40 +0100
committerRod Vagg <rod@vagg.org>2015-01-28 09:52:45 +1100
commitb50fea4d490278b291321e6b96c49cf20bee1552 (patch)
tree91e5d0102267af81dfcc7aa25c5d9cb6bec6c406 /src/udp_wrap.cc
parentb5166cb7d269cd1bf90d1768f82767b05b9ac1f8 (diff)
downloadnode-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