Fix bug that lower bound of optimize-concurrent-downloads becomes 1

This commit is contained in:
Tatsuhiro Tsujikawa 2016-12-05 21:18:31 +09:00
parent 4233474471
commit ddc1f1bfda

View File

@ -1086,7 +1086,7 @@ int RequestGroupMan::optimizeConcurrentDownloads()
} }
if (optimizationSpeed_ <= 0) { if (optimizationSpeed_ <= 0) {
return 1; return optimizeConcurrentDownloadsCoeffA_;
} }
// apply the rule // apply the rule