зеркало из
				https://github.com/viginum-datalab/twscrape.git
				synced 2025-10-30 13:36:12 +02:00 
			
		
		
		
	do not lock accounts on ConnectTimeout #113
Этот коммит содержится в:
		
							родитель
							
								
									a67cd1deb8
								
							
						
					
					
						Коммит
						8ae10f2db6
					
				| @ -221,7 +221,7 @@ class QueueClient: | |||||||
|             except (httpx.ReadTimeout, httpx.ProxyError): |             except (httpx.ReadTimeout, httpx.ProxyError): | ||||||
|                 # http transport failed, just retry with same account |                 # http transport failed, just retry with same account | ||||||
|                 continue |                 continue | ||||||
|             except httpx.ConnectError as e: |             except (httpx.ConnectError, httpx.ConnectTimeout) as e: | ||||||
|                 # if proxy missconfigured or ??? |                 # if proxy missconfigured or ??? | ||||||
|                 connection_retry += 1 |                 connection_retry += 1 | ||||||
|                 if connection_retry >= 3: |                 if connection_retry >= 3: | ||||||
|  | |||||||
		Загрузка…
	
	
			
			x
			
			
		
	
		Ссылка в новой задаче
	
	Block a user
	 Vlad Pronsky
						Vlad Pronsky