mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-08-03 10:16:03 -04:00
Wait up to 1s to le aria2c to start
This commit is contained in:
parent
2e3eae5615
commit
98849831da
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user