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

Remove 'JOBS=0' from disable parallelization section of README #143

Merged
merged 1 commit into from
May 31, 2018

Conversation

charlespierce
Copy link
Contributor

The README incorrectly states that setting JOBS=0 will disable parallelization. The check in parallel-api.js for the JOBS environment variable is:

const JOBS = Number(process.env.JOBS) || require('os').cpus().length;

Number(0) is a falsey value, so setting JOBS=0 is equivalent to not setting JOBS at all, and will default to the number of CPUs. Setting JOBS=1 does correctly disable parallelization, so that should be the only suggested approach.

@Turbo87 Turbo87 merged commit 81436ab into babel:master May 31, 2018
@Turbo87
Copy link
Contributor

Turbo87 commented May 31, 2018

Good catch.thanks!

@charlespierce charlespierce deleted the parallel-documentation branch May 31, 2018 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants