Skip to content

Adds open timeout option to request#142

Open
Aditya-Chowdhry wants to merge 3 commits intogojek:masterfrom
Aditya-Chowdhry:master
Open

Adds open timeout option to request#142
Aditya-Chowdhry wants to merge 3 commits intogojek:masterfrom
Aditya-Chowdhry:master

Conversation

@Aditya-Chowdhry
Copy link

Wrest exposes only read_timeout. In cases where wrest is not able to open a connection, it takes 60 seconds to get timed out. This can be configured by setting an open timeout of Net::Http - https://ruby-doc.org/stdlib-2.4.1/libdoc/net/http/rdoc/Net/HTTP.html.

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.

1 participant