Merge "HTTPClient: actually set a timeout for requests"
This commit is contained in:
commit
83a2dac21c
@ -270,6 +270,7 @@ class HTTPClient(_BaseHTTPClient):
|
||||
conn_url,
|
||||
data=data,
|
||||
headers=headers,
|
||||
timeout=self.timeout,
|
||||
**kwargs)
|
||||
except requests.exceptions.Timeout as e:
|
||||
message = ("Error communicating with %(url)s: %(e)s" %
|
||||
|
Loading…
Reference in New Issue
Block a user