Commit f0ccad70 authored by Vincent Pelletier's avatar Vincent Pelletier

Always update cache size when pruning data.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2551 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 7d20e5bd
...@@ -326,7 +326,7 @@ class MQ(object): ...@@ -326,7 +326,7 @@ class MQ(object):
del data.value del data.value
if size <= max_size: if size <= max_size:
break break
self._size = size self._size = size
__setitem__ = store __setitem__ = store
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment