diff options
| author | Mark Lopez <m@silvenga.com> | 2023-04-22 09:18:12 -0500 |
|---|---|---|
| committer | Mark Lopez <m@silvenga.com> | 2023-04-24 06:19:37 -0500 |
| commit | 29889159e80f66bcecd5403a756c5c853cae1a3b (patch) | |
| tree | 5a6c77ebbc8b1417fd2a8d0fedb28475061c6f0d /Emby.Server.Implementations/Data/BaseSqliteRepository.cs | |
| parent | 6e14f26ec85b8fad3c9412d395f0856a27421852 (diff) | |
Increased the max journal_size_limit to reduce the number of truncation operations.
Diffstat (limited to 'Emby.Server.Implementations/Data/BaseSqliteRepository.cs')
| -rw-r--r-- | Emby.Server.Implementations/Data/BaseSqliteRepository.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs index bc520b86e..fa58249ec 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. |
