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
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -147,7 +147,7 @@ class Client(object):
 | 
			
		|||
                        urlparse.urljoin(self.base_url, url),
 | 
			
		||||
                        auth=requests.auth.HTTPBasicAuth(self.email,
 | 
			
		||||
                                                         self.api_key),
 | 
			
		||||
                        verify=True, timeout=55,
 | 
			
		||||
                        verify=True, timeout=90,
 | 
			
		||||
                        **kwargs)
 | 
			
		||||
 | 
			
		||||
                # On 50x errors, try again after a short sleep
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue