const chosenWorkerNodeKey = this.nextWorkerNodeKey
do {
this.weightedRoundRobinNextWorkerNodeKey()
- } while (!this.isWorkerNodeReady(this.nextWorkerNodeKey))
+ } while (!this.isWorkerNodeEligible(this.nextWorkerNodeKey))
return chosenWorkerNodeKey
}