summaryrefslogtreecommitdiffstats
path: root/checkcloudconnection.cpp
diff options
context:
space:
mode:
authorGravatar Gaetan Bisson <bisson@archlinux.org>2015-10-16 14:55:33 -1000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-18 17:37:49 -0700
commit9c49f8924b18e052b8e0d6ac06f819ea8c0bdab4 (patch)
tree69142c591739d02d088e096e17e07f33e2a20e12 /checkcloudconnection.cpp
parentaf45a2a07261aaf04c0b87a5cec1f6a9f4a6e078 (diff)
downloadsubsurface-9c49f8924b18e052b8e0d6ac06f819ea8c0bdab4.tar.gz
increase cloud connection timeout
Awesome diving location does not rhyme with small Internet latency. Signed-off-by: Gaetan Bisson <bisson@archlinux.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'checkcloudconnection.cpp')
-rw-r--r--checkcloudconnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkcloudconnection.cpp b/checkcloudconnection.cpp
index b4b4b2be8..be2a2fa18 100644
--- a/checkcloudconnection.cpp
+++ b/checkcloudconnection.cpp
@@ -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?