mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-29 20:28:57 +03:00
SelectiveSync: Increase folder list timeout to 60
Already done for 2.1 in 05eee16959
For #3524
This commit is contained in:
parent
e1c634d000
commit
745cf55abb
1 changed files with 1 additions and 1 deletions
|
@ -477,7 +477,7 @@ void FolderStatusModel::fetchMore(const QModelIndex& parent)
|
||||||
}
|
}
|
||||||
LsColJob *job = new LsColJob(_accountState->account(), path, this);
|
LsColJob *job = new LsColJob(_accountState->account(), path, this);
|
||||||
job->setProperties(QList<QByteArray>() << "resourcetype" << "quota-used-bytes");
|
job->setProperties(QList<QByteArray>() << "resourcetype" << "quota-used-bytes");
|
||||||
job->setTimeout(5 * 1000);
|
job->setTimeout(60 * 1000);
|
||||||
connect(job, SIGNAL(directoryListingSubfolders(QStringList)),
|
connect(job, SIGNAL(directoryListingSubfolders(QStringList)),
|
||||||
SLOT(slotUpdateDirectories(QStringList)));
|
SLOT(slotUpdateDirectories(QStringList)));
|
||||||
connect(job, SIGNAL(finishedWithError(QNetworkReply*)),
|
connect(job, SIGNAL(finishedWithError(QNetworkReply*)),
|
||||||
|
|
Loading…
Reference in a new issue