Tweak proxy client (increased timeout, no more HTTP2)

test-fix-theme
Thomas Sileo 2022-11-19 08:32:44 +01:00
rodzic c83dd30f41
commit 822280c280
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -1151,7 +1151,10 @@ async def nodeinfo(
)
proxy_client = httpx.AsyncClient(follow_redirects=True, http2=True)
proxy_client = httpx.AsyncClient(
follow_redirects=True,
timeout=httpx.Timeout(timeout=10.0),
)
async def _proxy_get(