mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-04 09:16:17 +00:00
update sqlite sync mode
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user