Cap app vitest workers to 2 forks to reduce CPU pressure
The app package used the default fork count (= CPU cores), which combined with concurrent agent test runs was starving the machine.
This commit is contained in:
@@ -23,6 +23,11 @@ export default defineConfig({
|
||||
* keeps `process.send` intact so the app tests can boot before hitting the intentional failures.
|
||||
*/
|
||||
pool: "forks",
|
||||
poolOptions: {
|
||||
forks: {
|
||||
maxForks: 2,
|
||||
},
|
||||
},
|
||||
server: {
|
||||
deps: {
|
||||
fallbackCJS: true,
|
||||
|
||||
Reference in New Issue
Block a user