Wait up to 1s to le aria2c to start

This commit is contained in:
Emmanuel Engelhart 2024-12-24 10:40:50 +01:00 committed by Kelson
parent 2e3eae5615
commit 98849831da

View File

@ -124,7 +124,7 @@ Aria2::Aria2(std::string sessionFileDir):
typedef std::chrono::duration<double> Seconds; typedef std::chrono::duration<double> Seconds;
const double MAX_WAITING_TIME_SECONDS = 0.5; const double MAX_WAITING_TIME_SECONDS = 1;
const auto t0 = std::chrono::steady_clock::now(); const auto t0 = std::chrono::steady_clock::now();
bool maxWaitingTimeWasExceeded = false; bool maxWaitingTimeWasExceeded = false;