• Tim Peters's avatar
    Plug leaks in the ZEO client cache. · 27464d77
    Tim Peters authored
    ClientCache._evicted():  When deleting the last range of
    non-current tids for an oid, remove the list from the
    noncurrent dict instead of leaving an empty list sitting
    there forever.  This also required adjusting the side-
    effect dance in ClientCache._remove_noncurrent_revisions().
    
    FileCache._makeroom():  This was the major leak -- it
    neglected to remove an evicted object's Entry from the
    key2entry dict.
    27464d77
cache.py 42.2 KB