Increased the max journal_size_limit to reduce the number of truncation operations.

This commit is contained in:
Mark Lopez 2023-04-22 09:18:12 -05:00
parent 6e14f26ec8
commit 29889159e8
No known key found for this signature in database
GPG Key ID: B862284A2975BD3B

View File

@ -73,9 +73,10 @@ namespace Emby.Server.Implementations.Data
/// <summary> /// <summary>
/// Gets the journal size limit. <see href="https://www.sqlite.org/pragma.html#pragma_journal_size_limit" />. /// 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> /// </summary>
/// <value>The journal size limit.</value> /// <value>The journal size limit.</value>
protected virtual int? JournalSizeLimit => 0; protected virtual int? JournalSizeLimit => 134_217_728; // 128MiB
/// <summary> /// <summary>
/// Gets the page size. /// Gets the page size.