mirror of
https://github.com/2dust/v2rayN.git
synced 2026-11-06 12:35:00 +03:00
Adjust Download Configuration (#10531)
This commit is contained in:
@@ -142,12 +142,13 @@ public class DownloaderHelper
|
|||||||
};
|
};
|
||||||
var downloadOpt = new DownloadConfiguration()
|
var downloadOpt = new DownloadConfiguration()
|
||||||
{
|
{
|
||||||
ChunkCount = 100,
|
ChunkCount = 16,
|
||||||
MinimumChunkSize = 8 * 1024 * 1024, // 8 MB
|
|
||||||
MinimumSizeOfChunking = 8 * 1024 * 1024, // 8 MB
|
|
||||||
ParallelDownload = true,
|
ParallelDownload = true,
|
||||||
ParallelCount = 4,
|
ParallelCount = 4,
|
||||||
|
|
||||||
|
MinimumChunkSize = 2 * 1024 * 1024, // 2 MB
|
||||||
|
MinimumSizeOfChunking = 4 * 1024 * 1024, // 4 MB
|
||||||
|
|
||||||
RequestConfiguration = requestConfiguration,
|
RequestConfiguration = requestConfiguration,
|
||||||
CustomHttpMessageHandlerFactory = () => GetSocketsHttpHandler(requestConfiguration),
|
CustomHttpMessageHandlerFactory = () => GetSocketsHttpHandler(requestConfiguration),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user