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

fix: permit waking async interval with unreliable clocks #2551

Merged
merged 1 commit into from
Sep 29, 2020

Commits on Sep 27, 2020

  1. fix: permit waking async interval with unreliable clock

    The logic for waking the AsyncInterruptibleInterval sooner than its
    interval is dependent on an ability to reliably mark the last call
    made to the wrapped function. In environments like AWS Lambda where
    instances can be frozen and later thawed, it's possible for the
    last call to be in a distant past even though the internal timer
    has not completed yet. This change ensures that we immediately
    reschedule in these situations.
    
    NODE-2829
    mbroadst committed Sep 27, 2020
    Configuration menu
    Copy the full SHA
    786639b View commit details
    Browse the repository at this point in the history