mirror of https://github.com/astral-sh/uv
Update crates/uv-client/src/base_client.rs
Co-authored-by: Tomasz Kramkowski <tom@astral.sh>
This commit is contained in:
parent
c79ce523a0
commit
e65c8a6002
|
|
@ -1139,7 +1139,7 @@ fn retryable_on_request_failure(err: &(dyn Error + 'static)) -> Option<Retryable
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Decide whether a requests should be retried, tracking previous attempts and backoff.
|
/// Per-request retry state and policy.
|
||||||
pub struct RetryState {
|
pub struct RetryState {
|
||||||
retry_policy: ExponentialBackoff,
|
retry_policy: ExponentialBackoff,
|
||||||
start_time: SystemTime,
|
start_time: SystemTime,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue