feat(runtime): support creating workers using custom v8 params (#19339)

In order to limit the memory usage of isolates via heap_limits.
This commit is contained in:
Mathias Lafeldt 2023-06-05 11:22:32 +02:00 committed by GitHub
parent 21c2c01ebe
commit 77a950aac4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -449,6 +449,7 @@ impl CliMainWorkerFactory {
},
extensions,
startup_snapshot: Some(crate::js::deno_isolate_init()),
create_params: None,
unsafely_ignore_certificate_errors: shared
.options
.unsafely_ignore_certificate_errors