]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Made a slight adjustment to the logic which waits for a pooled
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 6 Dec 2013 20:53:59 +0000 (15:53 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 6 Dec 2013 21:33:42 +0000 (16:33 -0500)
commit003b288b7644d8c39a13ac488ba56356c6375233
treecb5229af2324623c358574e1fc46a320183cf01d
parentb653fb3a23a0388814d9ab79b884d64d396baff1
- Made a slight adjustment to the logic which waits for a pooled
connection to be available, such that for a connection pool
with no timeout specified, it will every half a second break out of
the wait to check for the so-called "abort" flag, which allows the
waiter to break out in case the whole connection pool was dumped;
normally the waiter should break out due to a notify_all() but it's
possible this notify_all() is missed in very slim cases.
This is an extension of logic first introduced in 0.8.0, and the
issue has only been observed occasionally in stress tests.
doc/build/changelog/changelog_08.rst
lib/sqlalchemy/util/queue.py
test/engine/test_pool.py