feat(core): Add an option to enable WAL mode for SQLite (#7118)
https://www.sqlite.org/wal.html
This commit is contained in:
committed by
GitHub
parent
67aaad15eb
commit
1d1a022def
@@ -24,6 +24,7 @@ const getDBConnectionOptions = (dbType: DatabaseType) => {
|
||||
UserSettings.getUserN8nFolderPath(),
|
||||
config.getEnv('database.sqlite.database'),
|
||||
),
|
||||
enableWAL: config.getEnv('database.sqlite.enableWAL'),
|
||||
}
|
||||
: {
|
||||
database: config.getEnv(`database.${configDBType}.database`),
|
||||
|
||||
Reference in New Issue
Block a user