Skip to content

Commit

Permalink
Fix docs to say max_concurrency instead of concurrency
Browse files Browse the repository at this point in the history
Change was made in #286
  • Loading branch information
msullivan committed Feb 18, 2022
1 parent 878cd3e commit 9363edb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/api/asyncio_client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Client
user=None, password=None, \
database=None, \
timeout=60, \
concurrency=None)
max_concurrency=None)
Create an asynchronous client with a lazy connection pool.

Expand Down Expand Up @@ -98,7 +98,7 @@ Client
:param float timeout:
Connection timeout in seconds.

:param int concurrency:
:param int max_concurrency:
Max number of connections in the pool. If not set, the suggested
concurrency value provided by the server is used.

Expand Down
14 changes: 7 additions & 7 deletions docs/api/blocking_client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Client
user=None, password=None, \
database=None, \
timeout=60, \
concurrency=None)
max_concurrency=None)
Create a blocking client with a lazy connection pool.

Expand Down Expand Up @@ -370,12 +370,12 @@ Client
If the client does not yet have any open connections in its pool,
attempts to open a connection, else returns immediately.

Since the client lazily creates new connections as needed (up to the
configured ``concurrency`` limit), the first connection attempt will
only occur when the first query is run on a client. ``ensureConnected``
can be useful to catch any errors resulting from connection
mis-configuration by triggering the first connection attempt
explicitly.
Since the client lazily creates new connections as needed (up
to the configured ``max_concurrency`` limit), the first
connection attempt will only occur when the first query is run
on a client. ``ensureConnected`` can be useful to catch any
errors resulting from connection mis-configuration by
triggering the first connection attempt explicitly.


.. _edgedb-python-blocking-api-transaction:
Expand Down

0 comments on commit 9363edb

Please sign in to comment.