mirror of
https://github.com/cdr/code-server.git
synced 2026-04-01 19:13:33 +02:00
Try lowering mangle workers to 2
This commit is contained in:
parent
db3d2a05c6
commit
1d6c167cec
1 changed files with 16 additions and 0 deletions
|
|
@ -7,6 +7,9 @@ ERROR: Protected fields have been made PUBLIC. This hurts minification and is th
|
|||
|
||||
No idea how VS Code is dealing with this in their own builds.
|
||||
|
||||
Additionally, in CI the build keeps getting terminated, possibly from running
|
||||
out of memory (there is no error message, it simply says it was canceled).
|
||||
|
||||
Index: code-server/lib/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditor.ts
|
||||
===================================================================
|
||||
--- code-server.orig/lib/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/chatDebugEditor.ts
|
||||
|
|
@ -20,3 +23,16 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/chat/browser/chatDebug/ch
|
|||
super.setEditorVisible(visible);
|
||||
if (visible) {
|
||||
this.telemetryService.publicLog2<{}, ChatDebugPanelOpenedClassification>('chatDebugPanelOpened');
|
||||
Index: code-server/lib/vscode/build/lib/mangle/index.ts
|
||||
===================================================================
|
||||
--- code-server.orig/lib/vscode/build/lib/mangle/index.ts
|
||||
+++ code-server/lib/vscode/build/lib/mangle/index.ts
|
||||
@@ -430,7 +430,7 @@ export class Mangler {
|
||||
this.config = config;
|
||||
|
||||
this.renameWorkerPool = workerpool.pool(path.join(import.meta.dirname, 'renameWorker.ts'), {
|
||||
- maxWorkers: 4,
|
||||
+ maxWorkers: 2,
|
||||
minWorkers: 'max'
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue