switch to write ahead logging

This commit is contained in:
Luke Pulverenti 2013-06-02 22:46:46 -04:00
parent be36049527
commit 59118a2ddb

View File

@ -63,7 +63,7 @@ namespace MediaBrowser.Server.Implementations.Sqlite
CacheSize = 40960, CacheSize = 40960,
SyncMode = SynchronizationModes.Off, SyncMode = SynchronizationModes.Off,
DataSource = dbPath, DataSource = dbPath,
JournalMode = SQLiteJournalModeEnum.Memory JournalMode = SQLiteJournalModeEnum.Wal
}; };
Connection = new SQLiteConnection(connectionstr.ConnectionString); Connection = new SQLiteConnection(connectionstr.ConnectionString);