mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-03-28 00:21:47 +01:00
Update:Sequelize transactionType to IMMEDIATE to fix SQLITE_BUSY #1910
This commit is contained in:
parent
daa8c4cd67
commit
1c40af3eef
@ -66,7 +66,8 @@ class Database {
|
|||||||
this.sequelize = new Sequelize({
|
this.sequelize = new Sequelize({
|
||||||
dialect: 'sqlite',
|
dialect: 'sqlite',
|
||||||
storage: this.dbPath,
|
storage: this.dbPath,
|
||||||
logging: false
|
logging: false,
|
||||||
|
transactionType: 'IMMEDIATE'
|
||||||
})
|
})
|
||||||
|
|
||||||
// Helper function
|
// Helper function
|
||||||
|
Loading…
Reference in New Issue
Block a user