fix(lsp): increase default max heap size to 3Gb (#19115)

This commit is contained in:
Bartek Iwańczuk 2023-05-13 21:42:34 +02:00 committed by GitHub
parent cf6f965e25
commit 226a373c49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 5 deletions

View file

@ -430,7 +430,7 @@ pub async fn run(
},
);
v8_set_flags(construct_v8_flags(&metadata.v8_flags, vec![]));
v8_set_flags(construct_v8_flags(&[], &metadata.v8_flags, vec![]));
let mut worker = worker_factory
.create_main_worker(main_module.clone(), permissions)