mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-01 23:05:15 +00:00
Improve re-connection speed
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user