mirror of
https://github.com/2dust/v2rayN.git
synced 2026-11-06 04:24:59 +03:00
Adjust Download Configuration (#10531)
This commit is contained in:
@@ -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),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user