Log message deletion

This commit is contained in:
simon.kagstrom 2010-02-28 08:31:06 +00:00
parent 8f5c351af7
commit ae23c0c4c2

View File

@ -655,6 +655,7 @@ class Broker(SocketServer.UDPServer):
# Older than one day? # Older than one day?
if diff > 24 * 60 * 60: if diff > 24 * 60 * 60:
to_delete = to_delete + 1 to_delete = to_delete + 1
log_info("Deleting old message")
self.messages = self.messages[ to_delete : ] self.messages = self.messages[ to_delete : ]
def ping_all_peers(self): def ping_all_peers(self):