update series pooling

This commit is contained in:
Luke Pulverenti
2016-05-02 13:11:45 -04:00
parent 3434863c18
commit 568e339ae8
4 changed files with 36 additions and 4 deletions

View File

@@ -499,8 +499,7 @@ namespace MediaBrowser.Server.Implementations.Dto
{
dto.ChildCount = GetChildCount(folder, user);
// These are just far too slow.
if (!(folder is UserRootFolder) && !(folder is UserView) && !(folder is ICollectionFolder))
if (!folder.SupportsUserDataFromChildren)
{
SetSpecialCounts(folder, user, dto, fields, syncProgress);
}