Adjust Download Configuration (#10531)

This commit is contained in:
DHR60
2026-11-05 12:12:03 +00:00
committed by GitHub
parent 15ed51f942
commit 92aa3ba6dd
+4 -3
View File
@@ -142,12 +142,13 @@ public class DownloaderHelper
};
var downloadOpt = new DownloadConfiguration()
{
ChunkCount = 100,
MinimumChunkSize = 8 * 1024 * 1024, // 8 MB
MinimumSizeOfChunking = 8 * 1024 * 1024, // 8 MB
ChunkCount = 16,
ParallelDownload = true,
ParallelCount = 4,
MinimumChunkSize = 2 * 1024 * 1024, // 2 MB
MinimumSizeOfChunking = 4 * 1024 * 1024, // 4 MB
RequestConfiguration = requestConfiguration,
CustomHttpMessageHandlerFactory = () => GetSocketsHttpHandler(requestConfiguration),
};