Skip to content
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

Timeout workflow is not well-documented #619

Open
csuhta opened this issue Sep 1, 2020 · 1 comment
Open

Timeout workflow is not well-documented #619

csuhta opened this issue Sep 1, 2020 · 1 comment

Comments

@csuhta
Copy link

csuhta commented Sep 1, 2020

I only recently started using this gem, and the documentation on how to handle request timeouts isn't very clear. I'm happy to update the wiki but I wanted to make sure this is correct:

If you are using HTTP.timeout(10).get(…) is the proper workflow to catch the HTTP::Timeout exception? Or is HTTP::Timeout only raised in default/internal code circumstances?

https://github.com/httprb/http/wiki/Timeouts

@uberllama
Copy link

I'd love to see some illumination on this, particularly as regards thread safety.

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

No branches or pull requests

2 participants