mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-06-20 19:04:16 +08:00
Disable exclusive mode
This commit is contained in:
1
db.ts
1
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");
|
||||
|
||||
Reference in New Issue
Block a user