mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-03 19:41:35 +02:00
update sqlite sync mode
This commit is contained in:
parent
8d97d34d10
commit
734f08f56d
2 changed files with 3 additions and 2 deletions
|
|
@ -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 a new issue