Skip to content

Commit

Permalink
increase cloud connection timeout
Browse files Browse the repository at this point in the history
Awesome diving location does not rhyme with small Internet latency.

Signed-off-by: Gaetan Bisson <[email protected]>
Signed-off-by: Dirk Hohndel <[email protected]>
  • Loading branch information
vesath authored and dirkhh committed Oct 19, 2015
1 parent af45a2a commit 9c49f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkcloudconnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ bool CheckCloudConnection::checkServer()
connect(&timer, SIGNAL(timeout()), &loop, SLOT(quit()));
connect(reply, SIGNAL(finished()), &loop, SLOT(quit()));
connect(reply, SIGNAL(sslErrors(QList<QSslError>)), this, SLOT(sslErrors(QList<QSslError>)));
timer.start(2000); // wait two seconds
timer.start(5000); // wait five seconds
loop.exec();
if (timer.isActive()) {
// didn't time out, did we get the right response?
Expand Down

0 comments on commit 9c49f89

Please sign in to comment.