]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Add pool.wait_ready, drop connection_timeout on init
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 25 Feb 2021 20:57:20 +0000 (21:57 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 12 Mar 2021 04:07:25 +0000 (05:07 +0100)
commit882ed791e814c12ad8d1b6ee3208536901918daa
tree05af25879c208241f53d6a25be951b616107c93c
parent1cf1bea9db8acad14be79cdfed70699ef82e0a15
Add pool.wait_ready, drop connection_timeout on init

This way init should never block. Always fill the connection in
background but a client can decide if they want to wait for it to be
ready.
psycopg3/psycopg3/pool/pool.py
psycopg3/psycopg3/pool/tasks.py
tests/pool/test_pool.py