Enable fullfsync mode in the database

This commit is contained in:
Scott Nonnenberg 2022-07-15 14:46:41 -07:00
parent 4b8a37f519
commit a2eac80034
1 changed files with 1 additions and 0 deletions

View File

@ -394,6 +394,7 @@ function switchToWAL(db: Database): void {
// https://sqlite.org/wal.html
db.pragma('journal_mode = WAL');
db.pragma('synchronous = FULL');
db.pragma('fullfsync = ON');
}
function migrateSchemaVersion(db: Database): void {