You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/12/16 06:00:37 UTC

[GitHub] [dolphinscheduler] caishunfeng commented on a change in pull request #7015: optimize the fetch num of command of master

caishunfeng commented on a change in pull request #7015:
URL: https://github.com/apache/dolphinscheduler/pull/7015#discussion_r770245561



##########
File path: dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/MasterSchedulerService.java
##########
@@ -273,7 +273,7 @@ private void scheduleProcess() throws Exception {
 
     private List<Command> findCommands() {
         int pageNumber = 0;
-        int pageSize = masterConfig.getFetchCommandNum();
+        int pageSize = masterConfig.getFetchCommandNum() * ServerNodeManager.MASTER_SIZE;

Review comment:
       @Yao-MR Yes, that's the point. Sorry for the late reply.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org