Merge "HTTPClient: actually set a timeout for requests"

This commit is contained in:
Zuul 2019-05-15 13:07:20 +00:00 committed by Gerrit Code Review
commit 83a2dac21c
1 changed files with 1 additions and 0 deletions

View File

@ -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" %