Skip to content

Commit

Permalink
Pass along --max-retries config option (#1572)
Browse files Browse the repository at this point in the history
  • Loading branch information
trask authored Nov 26, 2024
1 parent 10056dc commit c9d5d0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lychee-bin/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ pub(crate) fn create(cfg: &Config, cookie_jar: Option<&Arc<CookieStoreMutex>>) -
.method(method)
.timeout(timeout)
.retry_wait_time(retry_wait_time)
.max_retries(cfg.max_retries)
.github_token(cfg.github_token.clone())
.schemes(HashSet::from_iter(schemes))
.accepted(accepted)
Expand Down

0 comments on commit c9d5d0d

Please sign in to comment.