Skip to content

Commit c27feef

Browse files
committed
Wait up to 1s to le aria2c to start
1 parent 27e7840 commit c27feef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aria2.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Aria2::Aria2(std::string sessionFileDir):
124124

125125
typedef std::chrono::duration<double> Seconds;
126126

127-
const double MAX_WAITING_TIME_SECONDS = 0.5;
127+
const double MAX_WAITING_TIME_SECONDS = 1;
128128
const auto t0 = std::chrono::steady_clock::now();
129129
bool maxWaitingTimeWasExceeded = false;
130130

0 commit comments

Comments
 (0)