From c27feef55d5f5335b84083e48f5d534a163e929c Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Tue, 24 Dec 2024 10:40:50 +0100 Subject: [PATCH] Wait up to 1s to le aria2c to start --- src/aria2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aria2.cpp b/src/aria2.cpp index d7fbbf84c..8551c96e3 100644 --- a/src/aria2.cpp +++ b/src/aria2.cpp @@ -124,7 +124,7 @@ Aria2::Aria2(std::string sessionFileDir): typedef std::chrono::duration 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;