I tried looking through GitHub issues and documentation for an explanation of how to increase this limit but did not find any answers. We use httpx.AsyncClient(http2=True) Async client with HTTP/2 in high concurrency scenarios. It is necessary to keep streams open when the target website goes into queue mode. At this point, if running more than 100 concurrent requests, we encounter this error. How can we resolve it?
I have tried initializing the AsyncClient with httpx.Limits(max_connections=None, max_keepalive_connections=None) but this did not make a difference.
httpx version: 0.16.1
I tried looking through GitHub issues and documentation for an explanation of how to increase this limit but did not find any answers. We use
httpx.AsyncClient(http2=True)Async client with HTTP/2 in high concurrency scenarios. It is necessary to keep streams open when the target website goes into queue mode. At this point, if running more than 100 concurrent requests, we encounter this error. How can we resolve it?I have tried initializing the
AsyncClientwithhttpx.Limits(max_connections=None, max_keepalive_connections=None)but this did not make a difference.httpx version: 0.16.1