Small tweak of initial connection timeout.

This commit is contained in:
LoRd_MuldeR 2017-04-01 15:44:39 +02:00
parent f3a762cfba
commit 62471a93e8

View File

@ -374,7 +374,7 @@ void UpdateChecker::checkForUpdates(void)
int connectionScore = 0; int connectionScore = 0;
QStringList mirrorList = buildRandomList(known_hosts); QStringList mirrorList = buildRandomList(known_hosts);
for(int connectionTimout = 125; connectionTimout <= MAX_CONN_TIMEOUT; connectionTimout *= 2) for(int connectionTimout = 250; connectionTimout <= MAX_CONN_TIMEOUT; connectionTimout *= 2)
{ {
QElapsedTimer elapsedTimer; QElapsedTimer elapsedTimer;
elapsedTimer.start(); elapsedTimer.start();