Skip to content

Commit 79758d0

Browse files
misticevilebottnawi
authored andcommitted
fix: correct default for workerParallelJobs option (#74)
1 parent b02d503 commit 79758d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ readPipe.on('close', onTerminateRead);
1717
readPipe.on('error', onError);
1818
writePipe.on('error', onError);
1919

20-
const PARALLEL_JOBS = +process.argv[2];
20+
const PARALLEL_JOBS = +process.argv[2] || 20;
2121

2222
let terminated = false;
2323
let nextQuestionId = 0;

0 commit comments

Comments
 (0)