Sfoglia il codice sorgente

Change PRAGMA mode from WAL to TRUNCATE

Joshua Boniface 5 anni fa
parent
commit
72edf5b555

+ 2 - 2
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. 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.