Skip to content

Commit c306ee8

Browse files
committed
docs: refine some code comments
Signed-off-by: Jérôme Benoit <[email protected]>
1 parent 7c74c69 commit c306ee8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/pools/selection-strategies/interleaved-weighted-round-robin-worker-choice-strategy.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ export class InterleavedWeightedRoundRobinWorkerChoiceStrategy<
120120
}
121121
}
122122
this.interleavedWeightedRoundRobinNextWorkerNodeId()
123+
return undefined
123124
}
124125

125126
private interleavedWeightedRoundRobinNextWorkerNodeId(): void {

src/pools/selection-strategies/worker-choice-strategies-context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class WorkerChoiceStrategiesContext<
5858
TaskStatisticsRequirements
5959

6060
/**
61-
* The maximum number of worker choice strategies execution retries.
61+
* The maximum number of worker choice strategy execution retries.
6262
*/
6363
private readonly retries: number
6464

0 commit comments

Comments
 (0)