Skip to content

Commit a9afb77

Browse files
committed
Revert "Build Tooling: Define build concurrency explicitly"
This reverts commit 4338f9e.
1 parent 392f61e commit a9afb77

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ branches:
2525
before_install:
2626
- nvm install
2727

28-
env:
29-
- PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
30-
- HARDWARE_CONCURRENCY=2
28+
env: PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
3129

3230
jobs:
3331
include:

bin/packages/build.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,7 @@ if ( ! files.length ) {
4444
};
4545
}
4646

47-
const options = {};
48-
if ( process.env.HARDWARE_CONCURRENCY ) {
49-
// WorkerFarm is configured to use the number of CPUs available as the
50-
// default value. This can be overwritten for finite control or for use in
51-
// uncooperative continuous integration.
52-
options.maxConcurrentWorkers = Number( process.env.HARDWARE_CONCURRENCY );
53-
}
54-
55-
const worker = workerFarm( options, require.resolve( './build-worker' ) );
47+
const worker = workerFarm( require.resolve( './build-worker' ) );
5648

5749
let complete = 0;
5850

0 commit comments

Comments
 (0)