diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-12-06 15:53:59 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-12-06 16:33:42 -0500 |
commit | 003b288b7644d8c39a13ac488ba56356c6375233 (patch) | |
tree | cb5229af2324623c358574e1fc46a320183cf01d /lib/sqlalchemy/pool.py | |
parent | b653fb3a23a0388814d9ab79b884d64d396baff1 (diff) | |
download | sqlalchemy-003b288b7644d8c39a13ac488ba56356c6375233.tar.gz |
- 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.
Diffstat (limited to 'lib/sqlalchemy/pool.py')
0 files changed, 0 insertions, 0 deletions