}
private fairShareNextWorkerNodeKey (): number | undefined {
- if (this.pool.workerNodes.length === 0) {
- return undefined
- }
return this.pool.workerNodes.reduce(
(minWorkerNodeKey, workerNode, workerNodeKey, workerNodes) => {
if (workerNode.strategyData?.virtualTaskEndTimestamp == null) {
}
private leastBusyNextWorkerNodeKey (): number | undefined {
- if (this.pool.workerNodes.length === 0) {
- return undefined
- }
return this.pool.workerNodes.reduce(
(minWorkerNodeKey, workerNode, workerNodeKey, workerNodes) => {
return this.isWorkerNodeReady(workerNodeKey) &&
}
private leastEluNextWorkerNodeKey (): number | undefined {
- if (this.pool.workerNodes.length === 0) {
- return undefined
- }
return this.pool.workerNodes.reduce(
(minWorkerNodeKey, workerNode, workerNodeKey, workerNodes) => {
return this.isWorkerNodeReady(workerNodeKey) &&
}
private leastUsedNextWorkerNodeKey (): number | undefined {
- if (this.pool.workerNodes.length === 0) {
- return undefined
- }
return this.pool.workerNodes.reduce(
(minWorkerNodeKey, workerNode, workerNodeKey, workerNodes) => {
return this.isWorkerNodeReady(workerNodeKey) &&