update sqlite sync mode

This commit is contained in:
Luke Pulverenti 2013-07-06 21:42:14 -04:00
parent 8d97d34d10
commit 734f08f56d
2 changed files with 3 additions and 2 deletions

View File

@ -176,7 +176,7 @@ namespace MediaBrowser.Server.Implementations.Persistence
{
PageSize = 4096,
CacheSize = 4096,
SyncMode = SynchronizationModes.Off,
SyncMode = SynchronizationModes.Normal,
DataSource = dbPath,
JournalMode = SQLiteJournalModeEnum.Wal
};

View File

@ -386,7 +386,8 @@ namespace MediaBrowser.ServerApplication
PageSize = 4096,
CacheSize = 4096,
SyncMode = SynchronizationModes.Normal,
DataSource = dbPath
DataSource = dbPath,
JournalMode = SQLiteJournalModeEnum.Wal
};
var connection = new SQLiteConnection(connectionstr.ConnectionString);