Skip to content

Conversation

@mschfh
Copy link
Contributor

@mschfh mschfh commented Sep 9, 2024

The Python requests library does not set timeouts by default.
Without an explicit timeout, requests can potentially hang indefinitely.

This is also documented:

Nearly all production code should use this parameter in nearly all requests. Failure to do so can cause your program to hang indefinitely
https://requests.readthedocs.io/en/latest/user/quickstart/#timeouts

@rhymiz rhymiz merged commit ef7a728 into ProdPerfect:master Oct 2, 2024
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