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