X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fselection-strategies%2Fworker-choice-strategy-context.ts;h=157a61223a251aa1305be38555e67511b37798d6;hb=36ed976c290ce30ad1e027f6f93e76652e530737;hp=1772276c709a8cfba220df4aeafda075cdf92109;hpb=fb5a7307dfe8e86d539482dd807d821bf3c2fbc1;p=poolifier.git diff --git a/src/pools/selection-strategies/worker-choice-strategy-context.ts b/src/pools/selection-strategies/worker-choice-strategy-context.ts index 1772276c..157a6122 100644 --- a/src/pools/selection-strategies/worker-choice-strategy-context.ts +++ b/src/pools/selection-strategies/worker-choice-strategy-context.ts @@ -164,7 +164,7 @@ export class WorkerChoiceStrategyContext< * * @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 the maximum consecutive worker choice strategy executions has been reached. + * @throws {@link https://nodejs.org/api/errors.html#class-rangeerror} If the maximum consecutive worker choice strategy executions has been reached. */ public execute (): number { const workerChoiceStrategy = this.workerChoiceStrategies.get(