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

Skip to content

Commit defb070

Browse files
committed
add comment
1 parent 1d7c8f6 commit defb070

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

site/jest.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// REMARK: Jest is supposed to never exceed 50% maxWorkers by default. However,
2+
// there seems to be an issue with this in our Ubuntu-based workspaces.
3+
// If we don't limit it, then 100% CPU and high MEM usage is hit
4+
// unexpectedly, leading to OOM kills.
5+
//
6+
// SEE thread: https://github.com/coder/coder/pull/483#discussion_r829636583
17
const maxWorkers = process.env.CI ? 16 : 2
28

39
module.exports = {

0 commit comments

Comments
 (0)