interface: init ping_time with 0 so that the client sends version message
This commit is contained in:
parent
2104e96a66
commit
5c73bc5bc7
|
@ -67,7 +67,7 @@ class TcpInterface(threading.Thread):
|
|||
self.unanswered_requests = {}
|
||||
# request timeouts
|
||||
self.request_time = time.time()
|
||||
self.ping_time = time.time()
|
||||
self.ping_time = 0
|
||||
# parse server
|
||||
self.server = server
|
||||
self.host, self.port, self.protocol = self.server.split(':')
|
||||
|
|
Loading…
Reference in New Issue