mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 05:15:40 +03:00
Connectivity: Reduce ETag job timeout to 60 sec #4275
Before it used the default job timeout
This commit is contained in:
parent
e73c3199c0
commit
a507558dee
1 changed files with 1 additions and 0 deletions
|
@ -320,6 +320,7 @@ void Folder::slotRunEtagJob()
|
|||
// sync if it's different.
|
||||
|
||||
_requestEtagJob = new RequestEtagJob(account, remotePath(), this);
|
||||
_requestEtagJob->setTimeout(60*1000);
|
||||
// check if the etag is different
|
||||
QObject::connect(_requestEtagJob, SIGNAL(etagRetreived(QString)), this, SLOT(etagRetreived(QString)));
|
||||
FolderMan::instance()->slotScheduleETagJob(alias(), _requestEtagJob);
|
||||
|
|
Loading…
Reference in a new issue