PollJob: Increase timeout

This commit is contained in:
Markus Goetz 2014-08-28 11:27:08 +02:00
parent b037e6356e
commit 3aa7178382

View file

@ -86,7 +86,7 @@ void PUTFileJob::slotTimeout() {
void PollJob::start() void PollJob::start()
{ {
setTimeout(30 * 1000); setTimeout(120 * 1000);
QUrl accountUrl = account()->url(); QUrl accountUrl = account()->url();
QUrl finalUrl = QUrl::fromUserInput(accountUrl.scheme() + QLatin1String("://") + accountUrl.authority() QUrl finalUrl = QUrl::fromUserInput(accountUrl.scheme() + QLatin1String("://") + accountUrl.authority()
+ (path().startsWith('/') ? QLatin1String("") : QLatin1Literal("/")) + path()); + (path().startsWith('/') ? QLatin1String("") : QLatin1Literal("/")) + path());