Connectivity: Reduce ETag job timeout to 60 sec #4275

Before it used the default job timeout
This commit is contained in:
Markus Goetz 2016-05-31 09:35:04 +02:00
parent e73c3199c0
commit a507558dee

View file

@ -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);