gulp-multi-process icon indicating copy to clipboard operation
gulp-multi-process copied to clipboard

Allow specifying exact number of CPU cores to use

Open siosphere opened this issue 4 years ago • 0 comments

When running builds in containerized environments, the require('os').cpus().length will return the number of cores on the host machine, not the number of cores available to your container.

This change allows you to pass in a number as the 3rd parameter, for the number of cores you'd like to utilize.

siosphere avatar Apr 13 '21 16:04 siosphere