Explorar el Código

Change PRAGMA mode from WAL to TRUNCATE

Joshua Boniface hace 6 años
padre
commit
72edf5b555
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      Emby.Server.Implementations/Data/BaseSqliteRepository.cs

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