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

added a 10-second timeout to all HTTP(S) requests #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JohnTheNerd
Copy link

by default, requests does not provide a timeout for any calls. this would mean that in the event of an internet dropout, the library (and any application using it) would simply hang indefinitely. this resolves it by adding a 10-second timeout after which an exception will be fired by requests.

by default, requests does not provide a timeout for any calls. this would mean that in the event of an internet dropout, the library (and any application using it) would simply hang indefinitely. this resolves it by adding a 10-second timeout after which an exception will be fired by requests.
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.

2 participants