mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Improve re-connection speed
This commit is contained in:
parent
839f7b99f4
commit
4dbf1ef5ac
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue