Replies: 1 comment
-
If you've got multiple threads, and you're running async within each, then yes use a client within each thread. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The reason I'm asking:
I'm getting exception
ThreadPoolExecuton _eventloop.py _asyncio.py AttributeError partially initialized module has no attribute 'backend_class'
in ~5% of the runs with "each thread has its own httpx.AsyncClient"
I didn't measure singe AsyncClient yet...
Beta Was this translation helpful? Give feedback.
All reactions