Commit 243ea6f8 authored by David Johnson's avatar David Johnson

Add cache debug code.

parent ab71c903
......@@ -826,6 +826,8 @@ class ProtoGeniServer(object):
pass
pass
LOG.debug("CACHE: deleting items matching keys %s" % (str(dkeys),))
self.__get_lock()
# Assemble a list of matching cache keys.
......@@ -844,6 +846,7 @@ class ProtoGeniServer(object):
# Delete the matching cache keys.
for dk in deletes:
LOG.debug("CACHE: deleting matching key %s" % (dk,))
del self.cache[dk]
pass
......
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