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

Use the max between the default request timeout and the protocol override #318

Merged
merged 4 commits into from
Mar 18, 2019

Conversation

tulios
Copy link
Owner

@tulios tulios commented Mar 15, 2019

PR #310 introduced a custom timeout for protocol Fetch, but maxWaitTime can be lower than the requestTimeout. This can also happen with other protocols; the custom timeouts are influenced by user configurations and can be lower than the default requestTimeout. This PR makes sure that the value is always the max between the specific timeout and the default.

@tulios tulios requested a review from Nevon March 15, 2019 09:20
@tulios tulios merged commit 3601479 into master Mar 18, 2019
@tulios tulios deleted the max-between-default-and-configured-timeout branch March 27, 2019 18:01
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