UI/updater: Increase number of download workers
Request / response latency dominates the download time of small files and patches, especially the locale files. Increasing this to 4 doesn't consume many more resources and basically doubles the download speed, especially on higher latency connections.
This commit is contained in:
parent
f0ed8c337e
commit
2678d351f5
@ -1444,7 +1444,7 @@ static bool Update(wchar_t *cmdLine)
|
||||
/* ------------------------------------- *
|
||||
* Download Updates */
|
||||
|
||||
if (!RunDownloadWorkers(2))
|
||||
if (!RunDownloadWorkers(4))
|
||||
return false;
|
||||
|
||||
if ((size_t)completedUpdates != updates.size()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user