disable busy_timeout, see if the server does better

This commit is contained in:
Andrea 2022-01-27 08:47:06 +01:00
parent cdb074d0b5
commit 21124e02fc
1 changed files with 3 additions and 3 deletions

View File

@ -42,9 +42,9 @@ class LazyDatabase {
async init() {
if (this.db === null) {
this.db = await dbConnection();
await this.db.get('PRAGMA journal_mode = WAL;');
await this.db.get('PRAGMA busy_timeout = 5000;');
await this.db.get('PRAGMA foreign_keys = ON;')
// await this.db.get('PRAGMA journal_mode = WAL;');
// await this.db.get('PRAGMA busy_timeout = 5000;');
// await this.db.get('PRAGMA foreign_keys = ON;')
}
}