0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-19 20:32:15 +02:00

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:
Richard Stanway 2020-12-20 03:05:05 +01:00
parent f0ed8c337e
commit 2678d351f5

View File

@ -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()) {