Tweak proxy client (increased timeout, no more HTTP2)

This commit is contained in:
Thomas Sileo 2022-11-19 08:32:44 +01:00
parent c83dd30f41
commit 822280c280

View file

@ -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( async def _proxy_get(