Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tighten up download related timeouts #1190

Merged
merged 3 commits into from
May 15, 2023
Merged

Tighten up download related timeouts #1190

merged 3 commits into from
May 15, 2023

Conversation

Swatinem
Copy link
Member

Introduces a new DownloadTimeouts struct to group all the download-related timeouts. Introduces a new distinction between connect/HEAD timeout, and feeds the connect timeout and the global download timeout directly to reqwest.

@Swatinem Swatinem requested a review from a team May 15, 2023 08:19
@codecov
Copy link

codecov bot commented May 15, 2023

Codecov Report

Merging #1190 (ea2384e) into master (a7f9c02) will decrease coverage by 0.33%.
The diff coverage is 98.01%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1190      +/-   ##
==========================================
- Coverage   75.59%   75.27%   -0.33%     
==========================================
  Files          87       87              
  Lines       13839    13823      -16     
==========================================
- Hits        10462    10405      -57     
- Misses       3377     3418      +41     

Introduces a new `DownloadTimeouts` struct to group all the download-related timeouts.
Introduces a new distinction between connect/HEAD timeout, and feeds the connect timeout and the global download timeout directly to reqwest.
@Swatinem Swatinem merged commit e359010 into master May 15, 2023
@Swatinem Swatinem deleted the tighter-timeouts branch May 15, 2023 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants