fix: ensure task stealing can't start twice on the same worker node
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 14 Aug 2024 11:55:01 +0000 (13:55 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 14 Aug 2024 11:55:01 +0000 (13:55 +0200)
commit37cc14e81ea8e83ea2b78cf27e0e74f3c4694e21
treed2a0905a06381492c9b45dbf0d4a42429c3e44cd
parentd3167a7e6ee5dea226278a26813e6b64b49aa1d2
fix: ensure task stealing can't start twice on the same worker node

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/pools/abstract-pool.ts
src/pools/pool.ts
src/pools/worker-node.ts
src/pools/worker.ts
tests/pools/abstract-pool.test.mjs
tests/pools/worker-node.test.mjs