Silly :3
This commit is contained in:
parent
0ce64231c7
commit
6cd8dc1198
|
@ -73,7 +73,7 @@ class WorkerManager:
|
|||
cookie = bot_index, self._restarts[bot_index]
|
||||
self.workers.add(cookie)
|
||||
|
||||
await sio.send("unsubscribe")
|
||||
await sio.emit("unsubscribe")
|
||||
|
||||
try:
|
||||
batch = 0
|
||||
|
@ -98,6 +98,7 @@ class WorkerManager:
|
|||
self.workers.remove(cookie)
|
||||
|
||||
sio.on("connect", writer_itself)
|
||||
sio.on("unsubscribed", print)
|
||||
|
||||
await sio.connect(self.base.replace("http", "ws"))
|
||||
await sio.wait()
|
||||
|
|
Loading…
Reference in New Issue