Tweak proxy client (increased timeout, no more HTTP2)
parent
c83dd30f41
commit
822280c280
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue