Skip to content

Commit

Permalink
Disable exclusive mode
Browse files Browse the repository at this point in the history
  • Loading branch information
lifegpc committed Jan 21, 2024
1 parent 34785d3 commit 11e358d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 11e358d

Please sign in to comment.