-
-
Notifications
You must be signed in to change notification settings - Fork 960
Timeout option collision #257
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
Comments
Your |
@floatdrop ⬆️ |
On second glance – I propose add separate option |
Is it really necessary to have that distinction? When will you ever need to set the |
@sindresorhus quite often, actually. Connection timeout is very handy, when we have network outages between data-centres and need to retry request on reachable backend.
They are quite different things and often confuse beginners. I'm good with setting |
👍 Alright. Let's do that. |
Well, it should have happened. Since we passing
options
tohttp(s).request
methods – we havetimeout
option collision.For now we move our option out from object – 52ddf95
In future we should use
timeout
option from Http module instead.The text was updated successfully, but these errors were encountered: