summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
authorMathias Lafeldt <mathias.lafeldt@gmail.com>2023-06-05 11:22:32 +0200
committerGitHub <noreply@github.com>2023-06-05 09:22:32 +0000
commit77a950aac417ba5e9bf1a48b0ec8934291376a8c (patch)
tree38e1dfcea2d1c77dd95a67a7e793ad8c38e50c3b /cli/worker.rs
parent21c2c01ebed902c70763bb9319c3ec48c4cb5284 (diff)
feat(runtime): support creating workers using custom v8 params (#19339)
In order to limit the memory usage of isolates via heap_limits.
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index 6edf427ea..b8bb6e941 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -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