Update:Sequelize transactionType to IMMEDIATE to fix SQLITE_BUSY #1910

This commit is contained in:
advplyr 2023-07-22 11:30:29 -05:00
parent daa8c4cd67
commit 1c40af3eef

View File

@ -66,7 +66,8 @@ class Database {
this.sequelize = new Sequelize({
dialect: 'sqlite',
storage: this.dbPath,
logging: false
logging: false,
transactionType: 'IMMEDIATE'
})
// Helper function