[Pkg-owncloud-commits] [owncloud-client] 411/470: ConnectionValidator: Also set short timeout for capabilities job
Sandro Knauß
hefee-guest at moszumanska.debian.org
Thu May 12 16:25:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit f7c6efb391c090cf43ebfbfec1b47da0c2366a4d
Author: Markus Goetz <markus at woboq.com>
Date: Wed Apr 27 12:19:49 2016 +0200
ConnectionValidator: Also set short timeout for capabilities job
Default timeout was 5 min.
---
src/libsync/connectionvalidator.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/libsync/connectionvalidator.cpp b/src/libsync/connectionvalidator.cpp
index 83019dc..2a955a5 100644
--- a/src/libsync/connectionvalidator.cpp
+++ b/src/libsync/connectionvalidator.cpp
@@ -219,6 +219,7 @@ void ConnectionValidator::slotAuthSuccess()
void ConnectionValidator::checkServerCapabilities()
{
JsonApiJob *job = new JsonApiJob(_account, QLatin1String("ocs/v1.php/cloud/capabilities"), this);
+ job->setTimeout(timeoutToUseMsec);
QObject::connect(job, SIGNAL(jsonReceived(QVariantMap, int)), this, SLOT(slotCapabilitiesRecieved(QVariantMap)));
job->start();
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list