[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: - A major improvement made to the mechanics by whic
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2014-03-22 22:46:18
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/eed9cfc3ae02/ Changeset: eed9cfc3ae02 Branch: master User: zzzeek Date: 2014-03-22 23:45:39 Summary: - A major improvement made to the mechanics by which the :class:`.Engine` recycles the connection pool when a "disconnect" condition is detected; instead of discarding the pool and explicitly closing out connections, the pool is retained and a "generational" timestamp is updated to reflect the current time, thereby causing all existing connections to be recycled when they are next checked out. This greatly simplifies the recycle process, removes the need for "waking up" connect attempts waiting on the old pool and eliminates the race condition that many immediately-discarded "pool" objects could be created during the recycle operation. fixes #2985 Affected #: 7 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. |