mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
af45a2a072
commit
9c49f8924b
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Reference in a new issue