Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timers: fix processing of nested same delay timers #3063

Closed
wants to merge 1 commit into from

Commits on Jul 15, 2016

  1. timers: fix processing of nested timers

    Whenever a timer is scheduled within another timer, there are a few
    known issues that we are fixing:
    
    * Whenever the timer being scheduled has the same timeout value as the
    outer timer, the newly created timer can fire on the same tick of the
    event loop instead of during the next tick of the event loop
    * Whenever a timer is added in another timer's callback, its underlying
    timer handle will be started with a timeout that is actually incorrect
    
    This commit consists of
    nodejs/node-v0.x-archive#17203 and
    nodejs/node-v0.x-archive#25763.
    
    Fixes: nodejs/node-v0.x-archive#9333
    Fixes: nodejs/node-v0.x-archive#15447
    Fixes: nodejs/node-v0.x-archive#25607
    Fixes: nodejs#5426
    PR-URL: nodejs#3063
    whitlockjc committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    62b57ba View commit details
    Browse the repository at this point in the history