Skip to content
This repository was archived by the owner on Aug 17, 2019. It is now read-only.
This repository was archived by the owner on Aug 17, 2019. It is now read-only.

Add possibility to limit maxConcurrentWorkers in workerFarm #54

Description

@witem

On virtual machines no limited(limited by os.cpus) workerFarm use many thread and fail with coredump.
Maybe we can add some environment variable for redefine default maxConcurrentWorkers in:

cipm/lib/extract.js

Lines 13 to 16 in 89afe14

this._workers = workerFarm({
maxConcurrentCallsPerWorker: 20,
maxRetries: 1
}, WORKER_PATH)

More details in: https://npm.community/t/npm-ci-failed-child-send-is-not-a-function/726/8

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions