Browse Source

switch to write ahead logging

Luke Pulverenti 12 years ago
parent
commit
59118a2ddb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      MediaBrowser.Server.Implementations/Sqlite/SQLiteRepository.cs

+ 1 - 1
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);