• Jim Fulton's avatar
    Make the cache thread safe again. :/ · 5e6fd05f
    Jim Fulton authored
    There are some cases where we want to touch the cache outside of the
    I/O thread. Including:
    
    - ClientStorage wants to to invalidata cache entries if it gets a
      conflict error in voting.
    
    - loadBefore can probably be optimized by checking the cache in the
      client thread. (This will be safe for loadBefore, because the intent
      in practice is never to load current data.
    5e6fd05f
cache.py 30.6 KB