1
0
Fork 0
mirror of https://github.com/de2tla2f/pymaster.git synced 2024-11-27 05:11:29 +00:00

debug timeout event

This commit is contained in:
ghost 2024-01-09 04:39:46 +02:00
parent 6f87258799
commit 42923b1795

View file

@ -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