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 Dec 24, 2024
1 parent 27e7840 commit c27feef
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;

Check warning on line 127 in src/aria2.cpp

View check run for this annotation

Codecov / codecov/patch

src/aria2.cpp#L127

Added line #L127 was not covered by tests
const auto t0 = std::chrono::steady_clock::now();
bool maxWaitingTimeWasExceeded = false;

Expand Down

0 comments on commit c27feef

Please sign in to comment.