Skip to content

Retries for connection failures - #1000

Closed
skippdot wants to merge 1 commit into
encode:masterfrom
skippdot:retry-on-connection-failures
Closed

skippdot wants to merge 1 commit into
encode:masterfrom
skippdot:retry-on-connection-failures

Conversation

@skippdot

Copy link
Copy Markdown

code restored from #784

@skippdot skippdot closed this May 27, 2020
@florimondmanca florimondmanca mentioned this pull request Aug 7, 2020
Kludex referenced this pull request in pydantic/httpx2 May 11, 2026
This commit fixes a bug in both sync and async connection pools
where idle connections were dropped from the pool even when
max_keepalive_connections limit has not been reached. This
happened because the check compared this number to the total
number of connections, not only the idle ones.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant