mirror of https://github.com/aria2/aria2
Fix bug that lower bound of optimize-concurrent-downloads becomes 1
parent
4233474471
commit
ddc1f1bfda
|
@ -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