Skip to content

Commit 4abf3b0

Browse files
committed
noop, comment util.HTTP_TIMEOUT units is seconds
1 parent 63be8a7 commit 4abf3b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
ISO8601_DURATION_RE = re.compile(
120120
r'^ *P(?!$)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)? *$')
121121

122-
HTTP_TIMEOUT = 15
122+
HTTP_TIMEOUT = 15 # seconds
123123
"""Default HTTP request timeout, used in :func:`requests_get` etc."""
124124
socket.setdefaulttimeout(HTTP_TIMEOUT)
125125
# monkey-patch socket.getdefaulttimeout() because it often gets reset, e.g. by

0 commit comments

Comments
 (0)