|
@@ -114,6 +114,8 @@ export class AppDataSource {
|
|
...commonDataSourceOptions,
|
|
...commonDataSourceOptions,
|
|
type: 'sqlite',
|
|
type: 'sqlite',
|
|
database: this.env.get('DB_SQLITE_DATABASE_PATH'),
|
|
database: this.env.get('DB_SQLITE_DATABASE_PATH'),
|
|
|
|
+ enableWAL: true,
|
|
|
|
+ busyErrorRetry: 2000,
|
|
}
|
|
}
|
|
|
|
|
|
this._dataSource = new DataSource(sqliteDataSourceOptions)
|
|
this._dataSource = new DataSource(sqliteDataSourceOptions)
|