The Free Software Media System - Server Backend & API
Change PRAGMA mode from WAL to TRUNCATE
Joshua Boniface72edf5b555ca
diff --git a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs b/Emby.Server.Implementations/Data/BaseSqliteRepository.csindex a5bb47afbe..5184a10b1c 100644--- a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs+++ b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs@@ -53,10 +53,10 @@ namespace Emby.Server.Implementations.Dataprotected virtual int? CacheSize => null;/// <summary>- /// Gets the journal mode.+ /// Gets the journal mode. https://www.sqlite.org/pragma.html#pragma_journal_mode/// </summary>/// <value>The journal mode.</value>- protected virtual string JournalMode => "WAL";+ protected virtual string JournalMode => "TRUNCATE";/// <summary>/// Gets the page size.