From 42923b179561cd6697b83fc53e13d08cf65364f7 Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 9 Jan 2024 04:39:46 +0200 Subject: [PATCH] debug timeout event --- pymaster.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pymaster.py b/pymaster.py index 1dc15bc..6c0032d 100755 --- a/pymaster.py +++ b/pymaster.py @@ -95,6 +95,7 @@ class PyMaster: # Cleanup servers by timeout if time() > i.die: self.serverList.remove(i) + logging.debug("Server removed by timeout: {0}:{1}".format(addr[0], addr[1])) continue # Use pregenerated address string @@ -106,7 +107,7 @@ class PyMaster: def send_challenge_to_server(self, data, addr): - logging.debug("Challenge Request: {0}:{1}".format(addr[0], addr[1])) + logging.debug("Challenge request: {0}:{1}".format(addr[0], addr[1])) # At first, remove old server- data from list count = 0