summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-05-13 23:48:53 +0200
committerRuben Bridgewater <ruben@bridgewater.de>2019-06-17 21:12:21 +0200
commit6460d071d27d9525c0ca76725550c51c4451434e (patch)
tree9ef69b13cbe9d2fcc9f7198e2483b3d65443913e /tools
parentbf76823a47fd0893dcba541cc6b30f90cd586452 (diff)
downloadandroid-node-v8-6460d071d27d9525c0ca76725550c51c4451434e.tar.gz
android-node-v8-6460d071d27d9525c0ca76725550c51c4451434e.tar.bz2
android-node-v8-6460d071d27d9525c0ca76725550c51c4451434e.zip
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/lint-js.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lint-js.js b/tools/lint-js.js
index 109cafbe9b..30ff2d313c 100644
--- a/tools/lint-js.js
+++ b/tools/lint-js.js
@@ -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');