diff --git a/v2rayN/ServiceLib/Helper/DownloaderHelper.cs b/v2rayN/ServiceLib/Helper/DownloaderHelper.cs index bbae3db5..c1d4c906 100644 --- a/v2rayN/ServiceLib/Helper/DownloaderHelper.cs +++ b/v2rayN/ServiceLib/Helper/DownloaderHelper.cs @@ -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), };