Skip to content

Commit

Permalink
Wait up to 1s to le aria2c to start
Browse files Browse the repository at this point in the history
  • Loading branch information
kelson42 committed Jan 12, 2025
1 parent 2e3eae5 commit 9884983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aria2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 9884983

Please sign in to comment.