Hi guys, I am on the remote atoll of Rangiroa and the cloud is failing me! Basically, a ping to subsurface-divelog.org takes 720 ms, therefore connecting to the cloud storage server always timeouts.
With the attach tweak, things work again. Perhaps in the general case that's too long to wait, so I'd understand if this does not make it to master, but I still wanted to share this potential issue here. Cheers. -- Gaetan
>From cadba9b2e640a216288588aae88c6ffaac711988 Mon Sep 17 00:00:00 2001 From: Gaetan Bisson <[email protected]> Date: Fri, 16 Oct 2015 14:55:33 -1000 Subject: [PATCH] increase cloud connection timeout Awesome diving location does not rhyme with small Internet latency. Signed-off-by: Gaetan Bisson <[email protected]> --- checkcloudconnection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checkcloudconnection.cpp b/checkcloudconnection.cpp index b4b4b2b..dce28f6 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? -- 2.6.1
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
