mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 00:35:26 +03:00
reduce system info refreshing from dashboard
This commit is contained in:
@@ -65,6 +65,8 @@ namespace MediaBrowser.Controller.Entities
|
||||
IndexCache.Clear();
|
||||
}
|
||||
|
||||
ResetDynamicChildren();
|
||||
|
||||
return NullTaskResult;
|
||||
}
|
||||
|
||||
@@ -99,7 +101,8 @@ namespace MediaBrowser.Controller.Entities
|
||||
return LibraryManager.RootFolder.Children
|
||||
.OfType<Folder>()
|
||||
.Where(i => i.Path != null && locationsDicionary.ContainsKey(i.Path))
|
||||
.SelectMany(c => c.LinkedChildren).ToList();
|
||||
.SelectMany(c => c.LinkedChildren)
|
||||
.ToList();
|
||||
}
|
||||
|
||||
private IEnumerable<BaseItem> _actualChildren;
|
||||
@@ -131,7 +134,8 @@ namespace MediaBrowser.Controller.Entities
|
||||
LibraryManager.RootFolder.Children
|
||||
.OfType<Folder>()
|
||||
.Where(i => i.Path != null && locationsDicionary.ContainsKey(i.Path))
|
||||
.SelectMany(c => c.Children);
|
||||
.SelectMany(c => c.Children)
|
||||
.ToList();
|
||||
}
|
||||
|
||||
public void ResetDynamicChildren()
|
||||
|
||||
Reference in New Issue
Block a user