Getting httpx.PoolTimeout when issuing huge number of requests (10000) in asynchronously that take 100 ms each #2425
Answered
by
marcinbarczynski
marcinbarczynski
asked this question in
Potential Issue
-
To reproduce:
Run:
and then
fails with:
I am using Python 3.10 and httpx 0.23.0. |
Beta Was this translation helpful? Give feedback.
Answered by
marcinbarczynski
Oct 28, 2022
Replies: 1 comment 1 reply
-
It turned out that the default pool timeout is only 5 seconds: https://github.com/encode/httpx/blob/master/httpx/_config.py#L361 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tomchristie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It turned out that the default pool timeout is only 5 seconds: https://github.com/encode/httpx/blob/master/httpx/_config.py#L361