From: Jérôme Benoit Date: Mon, 1 Jan 2024 11:21:19 +0000 (+0100) Subject: docs: refine code comment X-Git-Tag: v3.1.15-0~10 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e868df5bb91ea3b67fe6edfd013fe877a14345b0;p=poolifier.git docs: refine code comment Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/selection-strategies/worker-choice-strategy-context.ts b/src/pools/selection-strategies/worker-choice-strategy-context.ts index 46e7ac64..40e2e18f 100644 --- a/src/pools/selection-strategies/worker-choice-strategy-context.ts +++ b/src/pools/selection-strategies/worker-choice-strategy-context.ts @@ -166,7 +166,7 @@ export class WorkerChoiceStrategyContext< * Executes the worker choice strategy in the context algorithm. * * @returns The key of the worker node. - * @throws {@link https://nodejs.org/api/errors.html#class-error} If after configured retries the worker node key is null or undefined. + * @throws {@link https://nodejs.org/api/errors.html#class-error} If after computed retries the worker node key is null or undefined. */ public execute (): number { return this.executeStrategy(