update sqlite sync mode
This commit is contained in:
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…
Reference in New Issue
Block a user