update sqlite sync mode

pull/702/head
Luke Pulverenti 11 years ago
parent 8d97d34d10
commit 734f08f56d

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

@ -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);

Loading…
Cancel
Save