summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/asyncpg.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2020-09-14 08:04:09 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2020-09-14 08:04:09 -0400
commit4d17fe4063adef50c1d529993e0b047f503940e2 (patch)
tree20b53461c593e71297fa034ccdaaea629c461728 /lib/sqlalchemy/dialects/postgresql/asyncpg.py
parent056c929e15c735059b2f17f9ae5391d3ad244907 (diff)
downloadsqlalchemy-4d17fe4063adef50c1d529993e0b047f503940e2.tar.gz
Adapt event exec_once_mutex to asyncio
The pool makes use of a threading.Lock() for the "first_connect" event. if the pool is async make sure this is a greenlet-adapted asyncio lock. Fixes: #5581 Change-Id: If52415839c7ed82135465f1fe93b95d86c305820
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/asyncpg.py')
0 files changed, 0 insertions, 0 deletions