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

fix: download keeps failing if it takes more than 30s #2224

Merged
merged 1 commit into from
May 31, 2024
Merged

Conversation

roele
Copy link
Contributor

@roele roele commented May 30, 2024

Fixes #2214 by allowing to override the HTTP request timeout with an environment variable.

src/env.rs Outdated Show resolved Hide resolved
@jdx
Copy link
Owner

jdx commented May 30, 2024

I think we should take the time to make this a setting, 73ff7fc is a good example, but lmk if it's not clear how to do that

@jdx
Copy link
Owner

jdx commented May 30, 2024

also, I haven't checked the docs but if memory serves reqwest has a timeout for connection and for requests so we need to set it in both places

EDIT: this is actually handled, we set both later when constructing the client

@jdx jdx merged commit cca3a8a into jdx:main May 31, 2024
10 checks passed
@roele roele deleted the issue/2214 branch May 31, 2024 14:40
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.

Download keep failing if it takes more than 30s.
2 participants