From: Jérôme Benoit Date: Wed, 13 Dec 2023 09:59:12 +0000 (+0100) Subject: docs: fix link to node.js error type X-Git-Tag: v3.0.14~5 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=457dd3dc846798c13be07ddcdd243dbcc5195810;p=poolifier.git docs: fix link to node.js error type Signed-off-by: Jérôme Benoit --- diff --git a/CHANGELOG.md b/CHANGELOG.md index a337162c..ddfd15e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,13 +27,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed -- Ensure pool asynchronous resource properly track tasks execution +- Ensure pool asynchronous resource properly track tasks execution. ## [3.0.10] - 2023-12-08 ### Changed -- Add a fastpath when tasks stealing or redistribution is impossible +- Add a fastpath when tasks stealing or redistribution is impossible. ## [3.0.9] - 2023-11-26 @@ -47,7 +47,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed -- Ensure continuous tasks stealing on idle start at worker node idling +- Ensure continuous tasks stealing on idle start at worker node idling. ## [3.0.7] - 2023-11-24 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(