-
Tim Peters authored
_ConnectionPool._reduce_size(): when forgetting a Connection due to exceeding pool_size available connections, clear its cache right away. Because such a connection can never be in the open state again, hanging on to resources in its cache is just wasteful. This was reported as "a problem" on zodb-dev recently, although it's unclear how the poster got into a state where it mattered so much.
b0e492f5