Pass along --max-retries config option (#1572)

This commit is contained in:
Trask Stalnaker 2024-11-26 04:43:03 -08:00 committed by GitHub
parent 10056dc5e9
commit c9d5d0de6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)