chore: Update translations
This commit is contained in:
parent
9be57a6e84
commit
9ceb3c705f
@ -30,7 +30,11 @@ export class SqliteRelay extends EventEmitter<RelayHandlerEvents> implements Rel
|
||||
try {
|
||||
this.#db = new this.#sqlite.oo1.OpfsDb(path, "cw");
|
||||
this.#log(`Opened ${this.#db.filename}`);
|
||||
this.#db.exec(`PRAGMA cache_size=${32 * 1024}; PRAGMA page_size=8192; PRAGMA journal_mode=MEMORY; PRAGMA temp_store=MEMORY;`);
|
||||
this.#db.exec(
|
||||
`PRAGMA cache_size=${
|
||||
32 * 1024
|
||||
}; PRAGMA page_size=8192; PRAGMA journal_mode=MEMORY; PRAGMA temp_store=MEMORY;`,
|
||||
);
|
||||
} catch (e) {
|
||||
// wipe db
|
||||
console.error(e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user