Skip to content

feat: Make REQUEST_TIMEOUT_SECS and CONNECT configurable#2691

Open
nunokaeru wants to merge 1 commit intomozilla:mainfrom
nunokaeru:request-config
Open

feat: Make REQUEST_TIMEOUT_SECS and CONNECT configurable#2691
nunokaeru wants to merge 1 commit intomozilla:mainfrom
nunokaeru:request-config

Conversation

@nunokaeru
Copy link
Copy Markdown

Some kernels can take upwards of 5 minutes to compile but 10 minutes might be too high of a timeout in the most common use cases.

Add a runtime configuration option for both the Request and the Connect timeout.

Closes: #2276

Comment thread src/dist/http.rs Outdated
@nunokaeru nunokaeru force-pushed the request-config branch 4 times, most recently from 51e8aa0 to a1aaa24 Compare May 1, 2026 18:46
Some kernels can take upwards of 5 minutes to compile but 10 minutes
might be too high of a timeout in the most common use cases.

Add a runtime configuration option for both the Request and the Connect
timeout.
@sylvestre
Copy link
Copy Markdown
Collaborator

please add a test to make sure we won't regress

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.27%. Comparing base (6f7e664) to head (6d1ba01).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2691   +/-   ##
=======================================
  Coverage   74.27%   74.27%           
=======================================
  Files          70       70           
  Lines       39325    39337   +12     
=======================================
+ Hits        29208    29218   +10     
- Misses      10117    10119    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nunokaeru
Copy link
Copy Markdown
Author

nunokaeru commented May 6, 2026

please add a test to make sure we won't regress

Will do and fix clippy issues too, might take a while as I’m lacking free time

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.

make "REQUEST_TIMEOUT_SECS" configurable

4 participants