[web] decrease concurrency for thread-loader when running tests (#23567)

GitOrigin-RevId: 4aac1bf478af8a12c96765eafd4adfbaaf8b4a22
This commit is contained in:
Jakob Ackermann
2025-02-13 08:25:23 +00:00
committed by Copybot
parent add8c3d120
commit 6bea6a887d

View File

@@ -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