Skip to content

Commit

Permalink
test: use cpu count for max worker (#17551)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Aug 31, 2022
1 parent c9d87d8 commit c5e5973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function jestGithubRunnerSpecs(): JestConfig {
// }

return {
maxWorkers: 2,
maxWorkers: cpus.length,
workerIdleMemoryLimit: '1500MB', // '2GB',
};
}
Expand Down

0 comments on commit c5e5973

Please sign in to comment.