mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-25 21:14:22 +01:00
Log message deletion
This commit is contained in:
parent
8f5c351af7
commit
ae23c0c4c2
@ -655,6 +655,7 @@ class Broker(SocketServer.UDPServer):
|
||||
# Older than one day?
|
||||
if diff > 24 * 60 * 60:
|
||||
to_delete = to_delete + 1
|
||||
log_info("Deleting old message")
|
||||
self.messages = self.messages[ to_delete : ]
|
||||
|
||||
def ping_all_peers(self):
|
||||
|
Loading…
Reference in New Issue
Block a user