mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Enable fullfsync mode in the database
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user