/** @inheritDoc */
public choose (): number | undefined {
- const chosenWorkerNodeKey = this.leastUsedNextWorkerNodeKey()
- this.assignChosenWorkerNodeKey(chosenWorkerNodeKey)
+ this.nextWorkerNodeKey = this.leastUsedNextWorkerNodeKey()
return this.nextWorkerNodeKey
}