From 54001fe4a433332b4a3e17ba68a204f08779cfda Mon Sep 17 00:00:00 2001 From: auqhjjqdo Date: Mon, 29 May 2023 17:03:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=BF=9E=E6=8E=A5=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E9=87=8D=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index a57a7ac..b68cd01 100644 --- a/main.py +++ b/main.py @@ -74,6 +74,7 @@ def get_client(self): http2=True, timeout=self.interval, proxies=self.proxy, + transport=httpx.AsyncHTTPTransport(retries=5), limits=httpx.Limits(max_keepalive_connections=100, keepalive_expiry=self.interval * 2), headers=self.headers, cookies=self.cookies