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 2022/10/29 10:13:14 UTC

[GitHub] [dolphinscheduler] ruanwenjun commented on a diff in pull request #12601: Add worker-group-refresh-interval in master config

ruanwenjun commented on code in PR #12601:
URL: https://github.com/apache/dolphinscheduler/pull/12601#discussion_r1008674572


##########
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/config/MasterConfig.java:
##########
@@ -140,6 +142,10 @@ public void validate(Object target, Errors errors) {
         if (masterConfig.getMaxCpuLoadAvg() <= 0) {
             masterConfig.setMaxCpuLoadAvg(Runtime.getRuntime().availableProcessors() * 2);
         }
+        if (masterConfig.getWorkerGroupRefreshInterval().getSeconds() <= 0) {

Review Comment:
   Agree with you, I set this value cannot smaller than 10s.



-- 
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