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:
parent
6f87258799
commit
42923b1795
|
@ -95,6 +95,7 @@ class PyMaster:
|
||||||
# Cleanup servers by timeout
|
# Cleanup servers by timeout
|
||||||
if time() > i.die:
|
if time() > i.die:
|
||||||
self.serverList.remove(i)
|
self.serverList.remove(i)
|
||||||
|
logging.debug("Server removed by timeout: {0}:{1}".format(addr[0], addr[1]))
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Use pregenerated address string
|
# Use pregenerated address string
|
||||||
|
@ -106,7 +107,7 @@ class PyMaster:
|
||||||
|
|
||||||
def send_challenge_to_server(self, data, addr):
|
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
|
# At first, remove old server- data from list
|
||||||
count = 0
|
count = 0
|
||||||
|
|
Loading…
Reference in a new issue