You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Hm... But global timeout is doing a bit different thing, it's basically timeout for connect + write + read. IN other words it won't solve your problem if I understand correctly.
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: