From a3ea2da3deed4fda369deb59e42f0ed24dc4f1c0 Mon Sep 17 00:00:00 2001 From: yasirarism Date: Wed, 6 Sep 2023 20:40:36 +0700 Subject: [PATCH] Increase httpx timeout --- misskaty/helper/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misskaty/helper/http.py b/misskaty/helper/http.py index e139c885..223430a5 100644 --- a/misskaty/helper/http.py +++ b/misskaty/helper/http.py @@ -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), )