Skip to content

Include missing keepalive_expiry configuration#1005

Merged
lovelydinosaur merged 1 commit into
masterfrom
keepalive-default
May 29, 2020
Merged

Include missing keepalive_expiry configuration#1005
lovelydinosaur merged 1 commit into
masterfrom
keepalive-default

Conversation

@lovelydinosaur

@lovelydinosaur lovelydinosaur commented May 29, 2020

Copy link
Copy Markdown
Contributor

Refs encode/httpcore#44

In 12.x we used to default the keepalive_expiry to 5.0 to mitigate asyncio's flaky behaviour for checking the aliveness of the TCP connection. https://github.com/encode/httpx/blob/0.12.1/httpx/_dispatch/connection_pool.py#L89

We failed to continue to do so in 13.x when we switched to httpcore. This change reverts that.

@lovelydinosaur
lovelydinosaur requested a review from a team May 29, 2020 09:45

@yeraydiazdiaz yeraydiazdiaz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants