mirror of
https://github.com/aria2/aria2.git
synced 2026-04-02 18:59:20 +00:00
Merge pull request #798 from aria2/fix-optimize-concurrent-downloads-lower-bound
Fix bug that lower bound of optimize-concurrent-downloads becomes 1
This commit is contained in:
@@ -1086,7 +1086,7 @@ int RequestGroupMan::optimizeConcurrentDownloads()
|
||||
}
|
||||
|
||||
if (optimizationSpeed_ <= 0) {
|
||||
return 1;
|
||||
return optimizeConcurrentDownloadsCoeffA_;
|
||||
}
|
||||
|
||||
// apply the rule
|
||||
|
||||
Reference in New Issue
Block a user