We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63be8a7 commit 4abf3b0Copy full SHA for 4abf3b0
util.py
@@ -119,7 +119,7 @@
119
ISO8601_DURATION_RE = re.compile(
120
r'^ *P(?!$)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)? *$')
121
122
-HTTP_TIMEOUT = 15
+HTTP_TIMEOUT = 15 # seconds
123
"""Default HTTP request timeout, used in :func:`requests_get` etc."""
124
socket.setdefaulttimeout(HTTP_TIMEOUT)
125
# monkey-patch socket.getdefaulttimeout() because it often gets reset, e.g. by
0 commit comments