summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
authorMathias Lafeldt <mathias.lafeldt@gmail.com>2022-11-10 12:46:26 +0100
committerGitHub <noreply@github.com>2022-11-10 12:46:26 +0100
commit92764c0decb370b0f8a78770314ceda7228d315f (patch)
treef04ff23a216540f59364a698ba1a600d1b87b7dc /cli/worker.rs
parent7bd2c607dd5aba82f4afb94a5c2e35ba5f0738cf (diff)
feat(runtime): support creating workers with custom v8 snapshots (#16553)
This PR makes it possible for applications to create workers from custom snapshots to improve runtime performance (without having to fork/copy `runtime/workers.rs`).
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 1aa2abdd9..63d1b7912 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -430,6 +430,7 @@ pub async fn create_main_worker(
inspect: ps.options.is_inspecting(),
},
extensions,
+ startup_snapshot: None,
unsafely_ignore_certificate_errors: ps
.options
.unsafely_ignore_certificate_errors()