From 72edf5b555cada453b25867612128e5273c7ce69 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Sun, 29 Sep 2019 15:53:35 -0400 Subject: [PATCH] Change PRAGMA mode from WAL to TRUNCATE --- Emby.Server.Implementations/Data/BaseSqliteRepository.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs index 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.Data protected virtual int? CacheSize => null; /// - /// Gets the journal mode. + /// Gets the journal mode. https://www.sqlite.org/pragma.html#pragma_journal_mode /// /// The journal mode. - protected virtual string JournalMode => "WAL"; + protected virtual string JournalMode => "TRUNCATE"; /// /// Gets the page size.