mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
Limit worker pool size (#185164)
Fixes #185079 Should fix OOM issues on build machines
This commit is contained in:
@@ -416,7 +416,7 @@ export class Mangler {
|
||||
this.service = ts.createLanguageService(new StaticLanguageServiceHost(projectPath));
|
||||
|
||||
this.renameWorkerPool = workerpool.pool(path.join(__dirname, 'renameWorker.js'), {
|
||||
maxWorkers: 2,
|
||||
maxWorkers: 1,
|
||||
minWorkers: 'max'
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user