tools: increase the maximum number of files to lint per worker
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: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
1eda6eb637
commit
5f71520d10
@ -3,7 +3,7 @@
|
|||||||
const rulesDirs = ['tools/eslint-rules'];
|
const rulesDirs = ['tools/eslint-rules'];
|
||||||
const extensions = ['.js', '.md'];
|
const extensions = ['.js', '.md'];
|
||||||
// This is the maximum number of files to be linted per worker at any given time
|
// 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 cluster = require('cluster');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user