From 457dd3dc846798c13be07ddcdd243dbcc5195810 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 13 Dec 2023 10:59:12 +0100 Subject: [PATCH] docs: fix link to node.js error type MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- CHANGELOG.md | 6 +++--- .../selection-strategies/worker-choice-strategy-context.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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( -- 2.34.1