Skip to content

Commit

Permalink
Merge pull request #1169 from kiwix/wait-1s-to-aria2c
Browse files Browse the repository at this point in the history
Wait up to 1s to le aria2c to start
  • Loading branch information
kelson42 authored Jan 12, 2025
2 parents 2e3eae5 + 9884983 commit bb65d77
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 bb65d77

Please sign in to comment.