docs: fixlet to code comment
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 18 Apr 2023 19:13:01 +0000 (21:13 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 18 Apr 2023 19:13:01 +0000 (21:13 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/selection-strategies/abstract-worker-choice-strategy.ts

index 7eced8d5985cf5f40c7b02b385b47628ed8c7154..e29c1e38987a49aab6d19e5eba0670cb4b2131c5 100644 (file)
@@ -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
     // })