Improve re-connection speed
This commit is contained in:
parent
839f7b99f4
commit
4dbf1ef5ac
@ -186,6 +186,9 @@ class Session:
|
||||
for i in range(self.NET_WORKERS):
|
||||
self.recv_queue.put(None)
|
||||
|
||||
for i in self.results.values():
|
||||
i.event.set()
|
||||
|
||||
log.debug("Session stopped")
|
||||
|
||||
def restart(self):
|
||||
|
Loading…
Reference in New Issue
Block a user