The Free Software Media System - Server Backend & API
Increased the max journal_size_limit to reduce the number of truncation operations.
Mark Lopez29889159e80f
diff --git a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs b/Emby.Server.Implementations/Data/BaseSqliteRepository.csindex bc520b86e7..fa58249ec2 100644--- a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs+++ b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs@@ -73,9 +73,10 @@ namespace Emby.Server.Implementations.Data/// <summary>/// Gets the journal size limit. <see href="https://www.sqlite.org/pragma.html#pragma_journal_size_limit" />.+ /// The default (-1) is overriden to prevent unconstrained WAL size, as reported by users./// </summary>/// <value>The journal size limit.</value>- protected virtual int? JournalSizeLimit => 0;+ protected virtual int? JournalSizeLimit => 134_217_728; // 128MiB/// <summary>/// Gets the page size.