Raise the API polling timeout so it is greater than the heartbeat frequency
(imported from commit 3a6921a9b5c2c9cdf3ce279291de31d4657d9ae0)
This commit is contained in:
parent
c2fa85ef71
commit
9acf6bd901
|
@ -147,7 +147,7 @@ class Client(object):
|
||||||
urlparse.urljoin(self.base_url, url),
|
urlparse.urljoin(self.base_url, url),
|
||||||
auth=requests.auth.HTTPBasicAuth(self.email,
|
auth=requests.auth.HTTPBasicAuth(self.email,
|
||||||
self.api_key),
|
self.api_key),
|
||||||
verify=True, timeout=55,
|
verify=True, timeout=90,
|
||||||
**kwargs)
|
**kwargs)
|
||||||
|
|
||||||
# On 50x errors, try again after a short sleep
|
# On 50x errors, try again after a short sleep
|
||||||
|
|
Loading…
Reference in a new issue