From 7f26cfcf89f647329f7bdca49752f021c827c056 Mon Sep 17 00:00:00 2001 From: emlazzarin <1141361+emlazzarin@users.noreply.github.com> Date: Wed, 23 Sep 2020 02:29:20 -0700 Subject: [PATCH] update arg name to `max_keepalive_connections` The old name `max_keepalive` was removed recently, so this updates the docs. --- docs/advanced.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced.md b/docs/advanced.md index 9fa3a35ee1..1b0ecee7c5 100644 --- a/docs/advanced.md +++ b/docs/advanced.md @@ -669,7 +669,7 @@ allow. (Defaults 10) ```python -limits = httpx.Limits(max_keepalive=5, max_connections=10) +limits = httpx.Limits(max_keepalive_connections=5, max_connections=10) client = httpx.Client(limits=limits) ```