1
This commit is contained in:
parent
dfb489dd9c
commit
262222f6d2
@ -23,6 +23,7 @@ class Ping(threading.Thread):
|
||||
def run(self):
|
||||
while True:
|
||||
ts = int(time.time())
|
||||
time.sleep(10)
|
||||
if self.ping_ts + self.time_out < ts:
|
||||
# 保持连接
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user