forked from forks/microblog.pub
Tweak proxy client (increased timeout, no more HTTP2)
This commit is contained in:
parent
c83dd30f41
commit
822280c280
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue