mirror of https://github.com/aria2/aria2
Take into account timeout
parent
10b64e281a
commit
e8fcedf092
|
@ -421,6 +421,6 @@ void DownloadCommand::installStreamFilter(
|
||||||
|
|
||||||
// We need to override noCheck() to return true in order to measure
|
// We need to override noCheck() to return true in order to measure
|
||||||
// download speed to check lowest speed.
|
// download speed to check lowest speed.
|
||||||
bool DownloadCommand::noCheck() const { return true; }
|
bool DownloadCommand::noCheck() const { return lowestDownloadSpeedLimit_ > 0; }
|
||||||
|
|
||||||
} // namespace aria2
|
} // namespace aria2
|
||||||
|
|
Loading…
Reference in New Issue