We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
os.availableParallelism()
os.cpus().length
1 parent 09a0b40 commit 511000eCopy full SHA for 511000e
tools/cli/commands/phan.js
@@ -67,7 +67,7 @@ export async function builder( yargs ) {
67
.option( 'concurrency', {
68
type: 'number',
69
description: 'Maximum number of phan tasks to run at once.',
70
- default: os.cpus().length,
+ default: os.availableParallelism(),
71
coerce: coerceConcurrency,
72
} )
73
.option( 'format', {
tools/cli/commands/test.js
@@ -48,7 +48,7 @@ export async function builder( yargs ) {
48
49
50
description: 'Maximum number of test tasks to run at once. Ignored with `--verbose`.',
51
52
53
54
.option( 'no-html', {
0 commit comments