]> git.ipfire.org Git - thirdparty/psycopg.git/commit
fix: premature ConnectionTimeout 1280/head
authorEric Buehl <eric.buehl@gmail.com>
Wed, 18 Mar 2026 17:30:54 +0000 (10:30 -0700)
committerEric Buehl <eric.buehl@gmail.com>
Wed, 18 Mar 2026 22:36:12 +0000 (15:36 -0700)
commite954881d1fa879ddc696a19f19fb5a0e6171778c
tree724712ddfaf78100f5c852537d805a2e08a3fcc2
parente61b15ab1015d012d6f124ce2f2955bbf15a187f
fix: premature ConnectionTimeout

When time.monotonic() returns a large value (e.g. on a long-running system, or when patched by a time-mocking library) causes ConnectionTimeout to fire immediately.
docs/news.rst
psycopg_c/psycopg_c/_psycopg/generators.pyx
tests/test_connection.py
tests/test_connection_async.py