Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Latest commit

 

History

History
15 lines (12 loc) · 705 Bytes

build-concurrency.md

File metadata and controls

15 lines (12 loc) · 705 Bytes

Build Concurrency

In order to speed up your project's build time, Ember CLI has added a bit of concurrency throughout the build system. The exact number of parallel transpilation jobs that will be used can be customized via the JOBS process environment variable.

The default value for process.env.JOBS is (max concurrency) - 1 (via require('os').cpus().length - 1), however there may be times when you need to customize this value to avoid issues.

The most common case for this is in CI systems like GitHub Actions, TravisCI, and CircleCI where the total number of CPU's available on the system is very large (> 32) but the individual CI jobs are limited to only 1.5 or 2 concurrent processes.