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

GitOrigin-RevId: 4aac1bf478af8a12c96765eafd4adfbaaf8b4a22
This commit is contained in:
Jakob Ackermann
2025-02-13 09:07:04 +00:00
committed by Copybot
parent ab95b350f1
commit c7cb0313cd
+1 -1
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