Skip to content
Discussion options

You must be logged in to vote

Thanks @tomchristie , after testing, I found out that using a shared async client without connection limits is good for me.

httpx.AsyncClient(limits=httpx.Limits(max_connections=None, max_keepalive_connections=20))

As for trio, I'll give it a shot :)

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@SysuJayce
Comment options

@lovelydinosaur
Comment options

@SysuJayce
Comment options

Answer selected by lovelydinosaur
@4dahalibut
Comment options

@lovelydinosaur
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants