aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2019-09-29 17:19:08 -0400
committerGitHub <noreply@github.com>2019-09-29 17:19:08 -0400
commitf63d591b08986d31eaaca5e3a5ef23ded58f5d38 (patch)
tree9a370bee4af1bd471e5d2327dd6b22032a5518e9
parente183a1493312f3bacce50925a06844d63a866217 (diff)
parent9aec21f6b55334d818fade85d617077b387253cf (diff)
Merge pull request #1817 from joshuaboniface/change-pragma-mode
Change PRAGMA mode from WAL to TRUNCATE
-rw-r--r--Emby.Server.Implementations/Data/BaseSqliteRepository.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Data/BaseSqliteRepository.cs b/Emby.Server.Implementations/Data/BaseSqliteRepository.cs
index a5bb47afb..4e392f6c9 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;
/// <summary>
- /// Gets the journal mode.
+ /// Gets the journal mode. <see href="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.