From ef3a549030711695b24e0e6581b9468e581c203c Mon Sep 17 00:00:00 2001 From: nsde Date: Sat, 2 Sep 2023 22:30:11 +0200 Subject: [PATCH] Made everything 4x faster --- api/streaming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/streaming.py b/api/streaming.py index 0eb1632..aa1d5ec 100644 --- a/api/streaming.py +++ b/api/streaming.py @@ -114,7 +114,7 @@ async def stream( cookies=target_request.get('cookies'), ssl=False, timeout=aiohttp.ClientTimeout( - connect=2, + connect=0.5, total=float(os.getenv('TRANSFER_TIMEOUT', '120')) ), ) as response: