Tweak proxy client (increased timeout, no more HTTP2)

main
Thomas Sileo 2022-11-19 08:32:44 +01:00
parent c83dd30f41
commit 822280c280
1 changed files with 4 additions and 1 deletions

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(