The Free Software Media System - Server Backend & API
update logging
Luke Pulverentia02e0473d8ae
diff --git a/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs b/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.csindex ec10fdaf69..2775389a22 100644--- a/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs+++ b/MediaBrowser.Server.Implementations/Persistence/SqliteItemRepository.cs@@ -247,7 +247,8 @@ namespace MediaBrowser.Server.Implementations.Persistence{"create index if not exists idx_PresentationUniqueKey on TypedBaseItems(PresentationUniqueKey)","create index if not exists idx_Type on TypedBaseItems(Type)",- "create index if not exists idx_TopParentId on TypedBaseItems(TopParentId)"+ "create index if not exists idx_TopParentId on TypedBaseItems(TopParentId)",+ "create index if not exists idx_TypeTopParentId on TypedBaseItems(Type,TopParentId)"};_connection.RunQueries(postQueries, Logger);@@ -1673,7 +1674,7 @@ namespace MediaBrowser.Server.Implementations.Persistencevar slowThreshold = 1000;#if DEBUG- slowThreshold = 200;+ slowThreshold = 100;#endifif (elapsed >= slowThreshold)