summaryrefslogtreecommitdiff
path: root/runtime/worker.rs
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2023-10-31 12:13:57 +0100
committerGitHub <noreply@github.com>2023-10-31 11:13:57 +0000
commit2d9298f5f5550c21ba218ff7095aa9afe80c7e02 (patch)
tree6daee1cc6007745097e176c7367b697e58632baf /runtime/worker.rs
parent092555c611ebab87ad570b4dcb73d54288dccdd9 (diff)
chore: update ext/kv to use denokv_* crates (#20986)
This commit updates the ext/kv module to use the denokv_* crates for the protocol and the sqlite backend. This also fixes a couple of bugs in the sqlite backend, and updates versionstamps to be updated less linearly.
Diffstat (limited to 'runtime/worker.rs')
-rw-r--r--runtime/worker.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/worker.rs b/runtime/worker.rs
index e8d9ca6bc..f0fc25aa2 100644
--- a/runtime/worker.rs
+++ b/runtime/worker.rs
@@ -261,6 +261,16 @@ impl MainWorker {
deno_kv::deno_kv::init_ops_and_esm(
MultiBackendDbHandler::remote_or_sqlite::<PermissionsContainer>(
options.origin_storage_dir.clone(),
+ options.seed,
+ deno_kv::remote::HttpOptions {
+ user_agent: options.bootstrap.user_agent.clone(),
+ root_cert_store_provider: options.root_cert_store_provider.clone(),
+ unsafely_ignore_certificate_errors: options
+ .unsafely_ignore_certificate_errors
+ .clone(),
+ client_cert_chain_and_key: None,
+ proxy: None,
+ },
),
),
deno_napi::deno_napi::init_ops_and_esm::<PermissionsContainer>(),