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: