mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-04 06:48:35 +01:00
reduce scanning overhead a bit
This commit is contained in:
@@ -659,7 +659,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
|
||||
foreach (var tuple in list)
|
||||
{
|
||||
if (tasks.Count > 50)
|
||||
if (tasks.Count > 5)
|
||||
{
|
||||
await Task.WhenAll(tasks).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user