-
Notifications
You must be signed in to change notification settings - Fork 321
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
Elapsed time timeout #562
Comments
Hm... But global timeout is doing a bit different thing, it's basically timeout for |
In that case perhaps a different term is needed, e.g.
|
shaicoleman
changed the title
Combine global timeout with per operation timeout
Elapsed time timeout
Aug 29, 2019
Closing in favor of #773 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe at the moment it's only possibly to either specify a per operation timeout or a global timeout. Would be good if it were possible to combine both timeouts, e.g.
HTTP.timeout(global: 60, connect: 5, write: 2, read: 10).get 'http://example.com'
This is needed to handle servers that send unending responses or that send out data very slowly.
The text was updated successfully, but these errors were encountered: