Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d7c8f6 commit defb070Copy full SHA for defb070
site/jest.config.js
@@ -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
7
const maxWorkers = process.env.CI ? 16 : 2
8
9
module.exports = {
0 commit comments