mirror of
https://github.com/aria2/aria2.git
synced 2024-11-23 18:13:32 +08:00
Fix bug that lower bound of optimize-concurrent-downloads becomes 1
This commit is contained in:
parent
4233474471
commit
ddc1f1bfda
@ -1086,7 +1086,7 @@ int RequestGroupMan::optimizeConcurrentDownloads()
|
||||
}
|
||||
|
||||
if (optimizationSpeed_ <= 0) {
|
||||
return 1;
|
||||
return optimizeConcurrentDownloadsCoeffA_;
|
||||
}
|
||||
|
||||
// apply the rule
|
||||
|
Loading…
Reference in New Issue
Block a user