mirror of https://github.com/aria2/aria2
Merge pull request #798 from aria2/fix-optimize-concurrent-downloads-lower-bound
Fix bug that lower bound of optimize-concurrent-downloads becomes 1pull/816/merge
commit
ec02ae65bb
|
@ -1086,7 +1086,7 @@ int RequestGroupMan::optimizeConcurrentDownloads()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (optimizationSpeed_ <= 0) {
|
if (optimizationSpeed_ <= 0) {
|
||||||
return 1;
|
return optimizeConcurrentDownloadsCoeffA_;
|
||||||
}
|
}
|
||||||
|
|
||||||
// apply the rule
|
// apply the rule
|
||||||
|
|
Loading…
Reference in New Issue