Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Feb 18, 2025
1 parent 97d11a1 commit 736a722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/tutorial-asyncio.rst
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ to an :class:`aiohttp.web.Application`:
:end-before: main-end

.. warning::
It is a common mistake to create a new client object for every request; this comes at a dire performance cost.
It is a common mistake to create a new client object for every request; this comes at a dire performance cost.
Create the client when your application starts and reuse that one client for the lifetime of the process.
You can maintain the client by storing a database handle from the client on your application object, as shown in this example.

Expand Down

0 comments on commit 736a722

Please sign in to comment.