Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b5cfc40

Browse files
authored
ci: reduce maxWorkers in jest tests
Summary: This spot has caused slowdowns locally. This PR is an investigation (to trigger CI) to see if reducing maxWorkers speeds up test/js.
1 parent 3304db0 commit b5cfc40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// unexpectedly, leading to OOM kills.
55
//
66
// SEE thread: https://github.com/coder/coder/pull/483#discussion_r829636583
7-
const maxWorkers = process.env.CI ? 16 : 2
7+
const maxWorkers = 2
88

99
module.exports = {
1010
maxWorkers,

0 commit comments

Comments
 (0)