Skip to content

Commit

Permalink
fix: correct default for workerParallelJobs option (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic authored and evilebottnawi committed Aug 7, 2019
1 parent b02d503 commit 79758d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/worker.js
Expand Up @@ -17,7 +17,7 @@ readPipe.on('close', onTerminateRead);
readPipe.on('error', onError);
writePipe.on('error', onError);

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

let terminated = false;
let nextQuestionId = 0;
Expand Down

0 comments on commit 79758d0

Please sign in to comment.