From d76607b112bf0bfbc79dc4dd8566101c69dbfa6e Mon Sep 17 00:00:00 2001 From: Nyakku Shigure Date: Mon, 15 Jan 2024 20:30:09 +0800 Subject: [PATCH] Adding an indent to fix wrong rendering in warning block (#3056) --- docs/async.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/async.md b/docs/async.md index 9b679006..d54a353d 100644 --- a/docs/async.md +++ b/docs/async.md @@ -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: -- 2.47.3