From 92aa3ba6ddaa39442e795f3a04a3a23b08e8c00d Mon Sep 17 00:00:00 2001 From: DHR60 <192860629+DHR60@users.noreply.github.com> Date: Thu, 5 Nov 2026 12:12:03 +0000 Subject: [PATCH] Adjust Download Configuration (#10531) --- v2rayN/ServiceLib/Helper/DownloaderHelper.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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), };