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 <targos@protonmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
  • 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.