]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix(pool): clean up logging in getconn check
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 6 Oct 2023 16:30:18 +0000 (18:30 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 14 Oct 2023 07:45:36 +0000 (09:45 +0200)
commit330f765175907da2a21a8c4aa5a2d55fd327d84b
treea0abf7531b1672b00ccb8861489a032ff6770123
parentbf874e2cb89e6eb4c0c8c7def89566c084e49d8f
fix(pool): clean up logging in getconn check

If a check callback is set, assume that failed checks on getconn are
just part of normal operative life: don't consider them warnings.
psycopg_pool/psycopg_pool/pool.py
psycopg_pool/psycopg_pool/pool_async.py