Increase httpx timeout

This commit is contained in:
yasirarism 2023-09-06 20:40:36 +07:00 committed by GitHub
parent 6fc1e2fb9d
commit a3ea2da3de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ fetch = httpx.AsyncClient(
"Accept-Language": "id-ID",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edge/107.0.1418.42",
},
timeout=httpx.Timeout(10),
timeout=httpx.Timeout(20),
)