Browse Source

Vacuum databases at startup

ferferga 6 years ago
parent
commit
b136f14084
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Emby.Server.Implementations/Data/BaseSqliteRepository.cs

+ 1 - 0
Emby.Server.Implementations/Data/BaseSqliteRepository.cs

@@ -203,6 +203,7 @@ namespace Emby.Server.Implementations.Data
         {
             var queries = new List<string>
             {
+                "VACUUM",
                 "PRAGMA journal_mode=WAL",
                 "PRAGMA page_size=4096",
                 "PRAGMA synchronous=Normal"