From 1c40af3eefcc4e18aacc2836ee32142695d26a73 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 22 Jul 2023 11:30:29 -0500 Subject: [PATCH] Update:Sequelize transactionType to IMMEDIATE to fix SQLITE_BUSY #1910 --- server/Database.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/Database.js b/server/Database.js index 7a8f9fa0..99a77166 100644 --- a/server/Database.js +++ b/server/Database.js @@ -66,7 +66,8 @@ class Database { this.sequelize = new Sequelize({ dialect: 'sqlite', storage: this.dbPath, - logging: false + logging: false, + transactionType: 'IMMEDIATE' }) // Helper function