Merge pull request #1169 from kiwix/wait-1s-to-aria2c

Wait up to 1s to le aria2c to start
This commit is contained in:
Kelson 2025-01-12 12:17:56 +01:00 committed by GitHub
commit bb65d77229
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -124,7 +124,7 @@ Aria2::Aria2(std::string sessionFileDir):
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();
bool maxWaitingTimeWasExceeded = false;