Skip to content

The Free Software Media System - Server Backend & API

switch to write ahead logging

Luke Pulverenti59118a2ddbf3
diff --git a/MediaBrowser.Server.Implementations/Sqlite/SQLiteRepository.cs b/MediaBrowser.Server.Implementations/Sqlite/SQLiteRepository.cs
index 7547212c5c..297033cd60 100644
--- a/MediaBrowser.Server.Implementations/Sqlite/SQLiteRepository.cs
+++ b/MediaBrowser.Server.Implementations/Sqlite/SQLiteRepository.cs
@@ -63,7 +63,7 @@ namespace MediaBrowser.Server.Implementations.Sqlite
CacheSize = 40960,
SyncMode = SynchronizationModes.Off,
DataSource = dbPath,
- JournalMode = SQLiteJournalModeEnum.Memory
+ JournalMode = SQLiteJournalModeEnum.Wal
};
Connection = new SQLiteConnection(connectionstr.ConnectionString);