diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-15 14:45:58 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-04-15 14:45:58 -0400 |
| commit | 2b8b98b59090ab6d077ac76cf9185da7d6ac126a (patch) | |
| tree | 106a2b646aea6ec8e854d95414c2a2b09265a4e9 /MediaBrowser.Controller/Entities/Folder.cs | |
| parent | 3d9b862430f042af1bcb9a7cdffd446ed09f9ef9 (diff) | |
reduce scanning overhead a bit
Diffstat (limited to 'MediaBrowser.Controller/Entities/Folder.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Folder.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs index b7508a641..f8db07fe3 100644 --- a/MediaBrowser.Controller/Entities/Folder.cs +++ b/MediaBrowser.Controller/Entities/Folder.cs @@ -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); } |
