Skip to content

Commit

Permalink
tools: increase the maximum number of files to lint per worker
Browse files Browse the repository at this point in the history
This increases the maximum number of files to lint per worker from
40 to 60 files. This should ideally reduce the total linting time
a tiny bit.

PR-URL: #27670
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Refael Ackermann (רפאל פלחי) <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
Reviewed-By: Ujjwal Sharma <[email protected]>
  • Loading branch information
BridgeAR committed Jun 17, 2019
1 parent bf76823 commit 6460d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lint-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const rulesDirs = ['tools/eslint-rules'];
const extensions = ['.js', '.md'];
// This is the maximum number of files to be linted per worker at any given time
const maxWorkload = 40;
const maxWorkload = 60;

const cluster = require('cluster');
const path = require('path');
Expand Down

0 comments on commit 6460d07

Please sign in to comment.