Stop assuming that it's fine
This commit is contained in:
parent
486bebaed9
commit
865ae22853
|
@ -86,7 +86,7 @@ class WorkerManager:
|
||||||
self.shmem.buf[OFFSET_STATE + byte] & mask
|
self.shmem.buf[OFFSET_STATE + byte] & mask
|
||||||
):
|
):
|
||||||
await sio.emit("toggle_bit", {"index": index})
|
await sio.emit("toggle_bit", {"index": index})
|
||||||
self.shmem.buf[OFFSET_STATE + byte] ^= mask
|
# self.shmem.buf[OFFSET_STATE + byte] ^= mask
|
||||||
self.n_toggles += 1
|
self.n_toggles += 1
|
||||||
self.queue.task_done()
|
self.queue.task_done()
|
||||||
batch += 1
|
batch += 1
|
||||||
|
|
Loading…
Reference in New Issue