Skip to content

Commit

Permalink
Minor changes (#413)
Browse files Browse the repository at this point in the history
* usage.rst & asyncio_client.rst

* Update docs/api/asyncio_client.rst

Co-authored-by: Devon Campbell <devon@radworks.io>

---------

Co-authored-by: Devon Campbell <devon@radworks.io>
  • Loading branch information
2 people authored and fantix committed Feb 9, 2023
1 parent 65c9c37 commit 14363fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/api/asyncio_client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -557,8 +557,8 @@ transaction), so we have to redo all the work done.
Generally it's recommended to not execute any long running
code within the transaction unless absolutely necessary.

Transactions allocate expensive server resources and having
too many concurrently running long-running transactions will
Transactions allocate expensive server resources, and having
too many concurrent long-running transactions will
negatively impact the performance of the DB server.

To rollback a transaction that is in progress raise an exception.
Expand Down
4 changes: 2 additions & 2 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ types and vice versa. See :ref:`edgedb-python-datatypes` for details.
Client connection pools
-----------------------

For server-type type applications that handle frequent requests and need
the database connection for a short period time while handling a request,
For server-type applications that handle frequent requests and need
the database connection for a short period of time while handling a request,
the use of a connection pool is recommended. Both :py:class:`edgedb.Client`
and :py:class:`edgedb.AsyncIOClient` come with such a pool.

Expand Down

0 comments on commit 14363fb

Please sign in to comment.