]> git.ipfire.org Git - thirdparty/psycopg.git/commit
refactor(pool): rename ConnectionAttempt as AttemptWithBackoff 711/head
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:04:47 +0000 (13:04 +0100)
commit1bf687e0bdbe5de3de8c805436a28ced5a2f530f
tree6da0452c0148fcbb9c6df20d953f884205f98566
parent6a6f0acff0a7926beb7f29f960249cd5fe3ae24f
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