]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
update arg name to `max_keepalive_connections` (#1309)
authoremlazzarin <1141361+emlazzarin@users.noreply.github.com>
Wed, 23 Sep 2020 09:42:21 +0000 (02:42 -0700)
committerGitHub <noreply@github.com>
Wed, 23 Sep 2020 09:42:21 +0000 (10:42 +0100)
The old name `max_keepalive` was removed recently, so this updates the docs.

docs/advanced.md

index 9fa3a35ee1c35f93beb1ea533ed4292fc81dac4f..1b0ecee7c50d41e145b3d5efa66de028f92b151c 100644 (file)
@@ -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)
 ```