]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Adding an indent to fix wrong rendering in warning block (#3056)
authorNyakku Shigure <sigure.qaq@gmail.com>
Mon, 15 Jan 2024 12:30:09 +0000 (20:30 +0800)
committerGitHub <noreply@github.com>
Mon, 15 Jan 2024 12:30:09 +0000 (12:30 +0000)
docs/async.md

index 9b679006a6ddd7fc9b8fbd93b4f270a1e8128546..d54a353d62447835a1b3fc2778e2ed9468abba20 100644 (file)
@@ -54,7 +54,7 @@ async with httpx.AsyncClient() as client:
 ```
 
 !!! warning
-In order to get the most benefit from connection pooling, make sure you're not instantiating multiple client instances - for example by using `async with` inside a "hot loop". This can be achieved either by having a single scoped client that's passed throughout wherever it's needed, or by having a single global client instance.
+    In order to get the most benefit from connection pooling, make sure you're not instantiating multiple client instances - for example by using `async with` inside a "hot loop". This can be achieved either by having a single scoped client that's passed throughout wherever it's needed, or by having a single global client instance.
 
 Alternatively, use `await client.aclose()` if you want to close a client explicitly: