]> git.ipfire.org Git - thirdparty/psycopg.git/commit
refactor(pool): rename ConnectionAttempt as AttemptWithBackoff
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Fri, 29 Dec 2023 23:49:28 +0000 (00:49 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sat, 6 Jan 2024 12:11:02 +0000 (13:11 +0100)
commit88d4d84b4345f6c62ed2d82502d207ce315b13cc
tree2fef51c60f7b6cb29f6219f44dede3949a1a8db4
parent0d1cd270732101312111e15b00975a5669b214d6
refactor(pool): rename ConnectionAttempt as AttemptWithBackoff

This class implements the backoff + jitter policy and is now used to
repeat checks too.
psycopg_pool/psycopg_pool/base.py
psycopg_pool/psycopg_pool/pool.py
psycopg_pool/psycopg_pool/pool_async.py
tests/pool/test_pool.py
tests/pool/test_pool_async.py