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 callLimit() not working when /proc is inaccessible #11

Merged
merged 1 commit into from
Mar 31, 2023

Commits on Mar 31, 2023

  1. Use availableParallelism, handle empty os.cpus()

    When /proc is not available and os.cpus() returns an empty list,
    callLimit() doesn't run any of the functions. Fix this and also update
    tap which was broken in newer node versions
    
    PR-URL: isaacs#11
    Credit: @codedokode
    Close: isaacs#11
    Reviewed-by: @isaacs
    
    EDIT(@isaacs): formatted commit message and comment for line length,
    added coverage ignore for node version-specific workaround
    codedokode authored and isaacs committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    ad9ab47 View commit details
    Browse the repository at this point in the history