From: Jérôme Benoit Date: Tue, 24 Oct 2023 20:16:53 +0000 (+0200) Subject: refactor: add FIXME comment at sending kill message to worker X-Git-Tag: v3.0.5~10 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=51d9cfbdf05e27031dc74dcdfd0b060dbc4c716e;p=poolifier.git refactor: add FIXME comment at sending kill message to worker Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index 2545d6a9..00cf5617 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -974,6 +974,7 @@ export abstract class AbstractPool< ) } } + // FIXME: should be registered only once this.registerWorkerMessageListener(workerNodeKey, killMessageListener) this.sendToWorker(workerNodeKey, { kill: true }) })