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:
50874ee
)
Propagator: fix a qMax which should have been a qMin
author
Olivier Goffart
<ogoffart@woboq.com>
Tue, 18 Jul 2017 06:58:07 +0000
(08:58 +0200)
committer
Olivier Goffart
<ogoffart@woboq.com>
Tue, 18 Jul 2017 06:58:07 +0000
(08:58 +0200)
src/libsync/owncloudpropagator.cpp
patch
|
blob
|
history
diff --git
a/src/libsync/owncloudpropagator.cpp
b/src/libsync/owncloudpropagator.cpp
index e76e00e8e15035f426ecec1661626ecbb229e250..17ab9facab3855d95c245b741d0be2702e68d19e 100644
(file)
--- a/
src/libsync/owncloudpropagator.cpp
+++ b/
src/libsync/owncloudpropagator.cpp
@@
-84,7
+84,7
@@
int OwncloudPropagator::maximumActiveTransferJob()
// disable parallelism when there is a network limit.
return 1;
}
- return qM
ax
(3, qCeil(hardMaximumActiveJob() / 2.));
+ return qM
in
(3, qCeil(hardMaximumActiveJob() / 2.));
}
/* The maximum number of active jobs in parallel */