From: Jérôme Benoit Date: Tue, 17 Oct 2023 19:49:28 +0000 (+0200) Subject: docs: refine code comment X-Git-Tag: v3.0.3~17 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f3827d5d6aa98c2dfe3f2c267f3397c121bfc271;p=poolifier.git docs: refine code comment Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index 9601564f..645a31e1 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -1276,7 +1276,7 @@ export abstract class AbstractPool< workerUsage.tasks.executing === 0 && this.tasksQueueSize(localWorkerNodeKey) === 0))) ) { - // Flag the worker as not ready immediately + // Flag the worker node as not ready immediately this.flagWorkerNodeAsNotReady(localWorkerNodeKey) this.destroyWorkerNode(localWorkerNodeKey).catch(error => { this.emitter?.emit(PoolEvents.error, error)