From 6460d071d27d9525c0ca76725550c51c4451434e Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Mon, 13 May 2019 23:48:53 +0200 Subject: [PATCH] tools: increase the maximum number of files to lint per worker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Richard Lau Reviewed-By: Refael Ackermann (רפאל פלחי) Reviewed-By: Daijiro Wachi Reviewed-By: Ujjwal Sharma --- tools/lint-js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lint-js.js b/tools/lint-js.js index 109cafbe9b4cad..30ff2d313c46c4 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');