Commit 90d5307
Bruce Adams
fix: Default timeout for requests.request()
This avoids a hard-to-diagnose hang condition when a request never
gets a response (which often means a network level failure occurred).
Strongly recommended by Python Requests for production use. See:
http://docs.python-requests.org/en/master/user/quickstart/#timeouts1 parent b4754c9 commit 90d5307
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
449 | 452 | | |
450 | 453 | | |
451 | 454 | | |
| |||
0 commit comments