[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: - work on fixing some race-condition failures:
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2014-03-26 20:34:16
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/761c8ff15de1/ Changeset: 761c8ff15de1 Branch: None User: zzzeek Date: 2014-03-26 21:31:52 Summary: - work on fixing some race-condition failures: 1. make sure pool._invalidate() sets the timestamp up before invalidating the target connection. we can otherwise show how the conn.invalidate() + pool._invalidate() can lead to an extra connection being made. 2. to help with that, soften up the check on connection.invalidate() when connection is already closed. a warning is fine here 3. add a mutex to test_max_overflow() when we connect, because the way we're using mock depends on an iterator, that needs to be synchronized Affected #: 3 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |