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

worker: prevent event loop starvation through MessagePorts #29315

Closed

Commits on Sep 7, 2019

  1. worker: prevent event loop starvation through MessagePorts

    Limit the number of messages processed without interruption on a
    given `MessagePort` to prevent event loop starvation, but still
    make sure that all messages are emitted that were already in the
    queue when emitting began.
    
    This aligns the behaviour better with the web.
    
    Refs: nodejs#28030
    addaleax committed Sep 7, 2019
    Configuration menu
    Copy the full SHA
    56d0e4a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fab5d00 View commit details
    Browse the repository at this point in the history