]> git.ipfire.org Git - thirdparty/psycopg.git/commit
refactor: only clean up the wait() timeout if needed
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 1 May 2022 12:30:20 +0000 (14:30 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 1 May 2022 20:46:40 +0000 (22:46 +0200)
commitd3e729f1479f676d30587d3b6899316cbefa622e
tree466f971f4e1fa404e48863c0979657e2ba6c03af
parentbeb95b1c2f85428ae83c300f27dbf9466776ebf0
refactor: only clean up the wait() timeout if needed

Often we terminate the iteration at the first item, so no need to select
at all.
psycopg/psycopg/waiting.py