From 865ae228537d590d4db0bceaa6591c8a3e1e5b4e Mon Sep 17 00:00:00 2001 From: hkc Date: Thu, 11 Jul 2024 19:07:30 +0300 Subject: [PATCH] Stop assuming that it's fine --- swarm/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarm/worker.py b/swarm/worker.py index 8805dc3..96baad4 100644 --- a/swarm/worker.py +++ b/swarm/worker.py @@ -86,7 +86,7 @@ class WorkerManager: self.shmem.buf[OFFSET_STATE + byte] & mask ): 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.queue.task_done() batch += 1