Skip to content
Myr

Fix invalid max_keepalive_connections argument name (#2094)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

The argument to `httpx.Limits` is named `max_keepalive_connections` but is referenced as `max_keepalive` in the docs.

authored by Ben Fasoli · committed by GitHub · parent 2a08edc · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/advanced.md+1 added-1 removed
668 unmodified lines
669670You can control the connection pool size using the `limits` keyword671argument on the client. It takes instances of `httpx.Limits` which define:672673- `max_keepalive`, number of allowable keep-alive connections, or `None` to always673- `max_keepalive_connections`, number of allowable keep-alive connections, or `None` to always674allow. (Defaults 20)675- `max_connections`, maximum number of allowable connections, or `None` for no limits.676(Default 100)677- `keepalive_expiry`, time limit on idle keep-alive connections in seconds, or `None` for no limits. (Default 5)
500 unmodified lines