Skip to content
Myr

Adding an indent to fix wrong rendering in warning block (#3056)

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

authored by Nyakku Shigure · committed by GitHub · parent 73e6888 · 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/async.md+1 added-1 removed
52 unmodified lines
53 ...54```5556!!! warning57In 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.57 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.5859Alternatively, use `await client.aclose()` if you want to close a client explicitly:6061```python
183 unmodified lines