Explorar el Código

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

Tatsuhiro Tsujikawa hace 9 años
padre
commit
ddc1f1bfda
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/RequestGroupMan.cc

+ 1 - 1
src/RequestGroupMan.cc

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