Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rust/build/in_process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -861,8 +861,8 @@ fn cached_download(
data
}

/// Maximum number of HTTP attempts (one initial + this many retries on transient errors).
const MAX_RETRIES: u32 = 3;
/// Maximum retries after the initial HTTP attempt for transient errors.
const MAX_RETRIES: u32 = 5;

/// Download `url` with bounded retries on transient network errors. Backoff is
/// exponential starting at 1s. 4xx responses fail fast; 5xx and connect/read
Expand Down
4 changes: 2 additions & 2 deletions rust/build/out_of_process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,8 @@ fn cached_download(
data
}

/// Maximum number of HTTP attempts (one initial + this many retries on transient errors).
const MAX_RETRIES: u32 = 3;
/// Maximum retries after the initial HTTP attempt for transient errors.
const MAX_RETRIES: u32 = 5;

/// Download `url` with bounded retries on transient network errors. Backoff is
/// exponential starting at 1s. 4xx responses fail fast; 5xx and connect/read
Expand Down
Loading