diff options
author | Anatoli Papirovski <apapirovski@mac.com> | 2018-01-31 13:37:01 -0500 |
---|---|---|
committer | Anatoli Papirovski <apapirovski@mac.com> | 2018-02-04 11:04:12 -0500 |
commit | 47a984ada005d4db150b3d0ebd71b560411e7470 (patch) | |
tree | e53a6863b264a3d009319df175e63ec6eb0727e1 /doc/api/assert.md | |
parent | d7894f3969fd3932eef57d9759f01282c7d76aa5 (diff) | |
download | android-node-v8-47a984ada005d4db150b3d0ebd71b560411e7470.tar.gz android-node-v8-47a984ada005d4db150b3d0ebd71b560411e7470.tar.bz2 android-node-v8-47a984ada005d4db150b3d0ebd71b560411e7470.zip |
timers: prevent event loop blocking
When an interval takes as long or longer to run as its timeout setting
and the roundtrip from rearm() to its deferal takes exactly 1ms, that
interval can then block the event loop. This is an edge case of another
recently fixed bug (which in itself was an edge case).
PR-URL: https://github.com/nodejs/node/pull/18486
Refs: https://github.com/nodejs/node/pull/15072
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'doc/api/assert.md')
0 files changed, 0 insertions, 0 deletions