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
The rescue's seem ok, problem is the timeout used underneath. The correct timeout in this case should be connect_timeout, but in both blocks two different timeouts will be used.
This could be easily handled if the rescue_ methods would accept a timeout parameter which would overwrite the default IMO.
The text was updated successfully, but these errors were encountered:
https://github.com/httprb/http/blob/master/lib/http/timeout/per_operation.rb#L30-L36
The rescue's seem ok, problem is the timeout used underneath. The correct timeout in this case should be connect_timeout, but in both blocks two different timeouts will be used.
This could be easily handled if the rescue_ methods would accept a timeout parameter which would overwrite the default IMO.
The text was updated successfully, but these errors were encountered: