• Tim Peters's avatar
    Merge rev 41063 from 3.6 branch. · 3e334b70
    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.
    3e334b70
DB.py 26.3 KB