Commit 7e9d2f8d authored by Saúl Ibarra Corretgé's avatar Saúl Ibarra Corretgé Committed by Michael Dawson
Browse files

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.

Reviewed-By: default avatarJulien Gilli <julien.gilli@joyent.com>
PR-URL: https://github.com/joyent/node/pull/9410
parent a9308700
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment