Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
924060929 committed Jun 7, 2024
1 parent e182783 commit 3b0ae40
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public List<AssignedJob> computeAssignedJobs(
};
return buildInstances(expectInstanceNum, workerSelector);
} else {
// keep same instance num like child fragment
Function<Integer, Worker> workerSelector = instanceIndex -> {
int selectIndex = instanceIndex % biggestParallelChildFragment.size();
return biggestParallelChildFragment.get(selectIndex).getAssignedWorker();
Expand Down

0 comments on commit 3b0ae40

Please sign in to comment.