From: Jérôme Benoit Date: Tue, 18 Apr 2023 19:13:01 +0000 (+0200) Subject: docs: fixlet to code comment X-Git-Tag: v2.4.11~29 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=0e7c56b0e6ec34e134f703c5f39047d78890a57d;p=poolifier.git docs: fixlet to code comment Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/selection-strategies/abstract-worker-choice-strategy.ts b/src/pools/selection-strategies/abstract-worker-choice-strategy.ts index 7eced8d5..e29c1e38 100644 --- a/src/pools/selection-strategies/abstract-worker-choice-strategy.ts +++ b/src/pools/selection-strategies/abstract-worker-choice-strategy.ts @@ -112,7 +112,7 @@ export abstract class AbstractWorkerChoiceStrategy< * @returns A worker node key if there is one, `-1` otherwise. */ private findLastFreeWorkerNodeKey (): number { - // It requires node >= 18.0.0 + // It requires node >= 18.0.0: // return this.workerNodes.findLastIndex(workerNode => { // return workerNode.tasksUsage?.running === 0 // })