make ResponseCache smarter to avoid memory leaks: don't record timestamps, use DataSp...
authordavid-sarah <david-sarah@jacaranda.org>
Wed, 27 Oct 2010 04:33:02 +0000 (21:33 -0700)
committerdavid-sarah <david-sarah@jacaranda.org>
Wed, 27 Oct 2010 04:33:02 +0000 (21:33 -0700)
commit4061258c85da2960f1389dd4b4a8012087b92083
tree0b3ad5efb96e5e719f9418ab7515f92d7da4fc4e
parent25d8103dde95d78450ca52a6c327f525d3f6af4c
make ResponseCache smarter to avoid memory leaks: don't record timestamps, use DataSpans to merge entries, and clear the cache when we see a new seqnum. refs #1045, #1229
src/allmydata/mutable/common.py
src/allmydata/mutable/filenode.py
src/allmydata/mutable/publish.py
src/allmydata/mutable/retrieve.py
src/allmydata/mutable/servermap.py
src/allmydata/test/test_mutable.py