From 11e358d2c9cfec3eac079a077ee46bfb621e49e3 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Sun, 21 Jan 2024 22:12:31 +0800 Subject: [PATCH] Disable exclusive mode --- db.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/db.ts b/db.ts index 747d003..2f574da 100644 --- a/db.ts +++ b/db.ts @@ -292,7 +292,6 @@ export class EhDb { const DB = (await import("./utils/db_wasm.ts")).DbWasm; this.db = new DB(this.#db_path); } - this.db.execute("PRAGMA main.locking_mode=EXCLUSIVE;"); if (!this.#check_database()) this.#create_table(); if (!this.#use_ffi && this.#flock_enabled) { this.#lock_file = join(this.#base_path, "db.lock");