Small tweak of initial connection timeout.
This commit is contained in:
parent
f3a762cfba
commit
62471a93e8
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user