projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e73c319
)
Connectivity: Reduce ETag job timeout to 60 sec #4275
author
Markus Goetz
<markus@woboq.com>
Tue, 31 May 2016 07:35:04 +0000
(09:35 +0200)
committer
Markus Goetz
<markus@woboq.com>
Tue, 31 May 2016 07:35:47 +0000
(09:35 +0200)
Before it used the default job timeout
src/gui/folder.cpp
patch
|
blob
|
history
diff --git
a/src/gui/folder.cpp
b/src/gui/folder.cpp
index 5b8c01957d1b3f7dcd25c111be4d1e87fadb91eb..3b36ca48be5ba35fa8327679589405deadbef07b 100644
(file)
--- a/
src/gui/folder.cpp
+++ b/
src/gui/folder.cpp
@@
-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);