From 6bea6a887de58023dafb886ec5402175f624a728 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Thu, 13 Feb 2025 08:25:23 +0000 Subject: [PATCH] [web] decrease concurrency for thread-loader when running tests (#23567) GitOrigin-RevId: 4aac1bf478af8a12c96765eafd4adfbaaf8b4a22 --- services/web/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/webpack.config.js b/services/web/webpack.config.js index 9f82eec062..46eb0e6847 100644 --- a/services/web/webpack.config.js +++ b/services/web/webpack.config.js @@ -185,7 +185,7 @@ module.exports = { // bring up more workers after they timed out poolRespawn: true, // limit concurrency (one per entrypoint and let the small includes queue up) - workers: 6, + workers: process.env.NODE_ENV === 'test' ? 1 : 6, }, }, // Compiles the Less syntax to CSS