diff --git a/src/CDNClient.cs b/src/CDNClient.cs index e911f24..28b5fa2 100644 --- a/src/CDNClient.cs +++ b/src/CDNClient.cs @@ -27,10 +27,10 @@ public class CDNClient /// CM client used to get CDN server list and manifest request codes. public required CM.CMClient CmClient { get; init; } /// - /// Number of servers that clients will simultaneously use when downloading depot content. The default value is Math.Max(Environment.ProcessorCount * 6, 50). + /// Number of servers that clients will simultaneously use when downloading depot content. The default value is 6 <= (Environment.ProcessorCount * 4 / 5) <= 15 /// It is also the number of download threads, scale it accordingly to your network bandwidth and CPU capabilities. /// - public static int NumDownloadServers { get; set; } = Math.Max(Environment.ProcessorCount * 6, 50); + public static int NumDownloadServers { get; set; } = Math.Max(Math.Min(Environment.ProcessorCount * 4 / 5, 15), 6); /// Gets CDN server list if necessary. private void CheckServerList() {