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 13:47:44 UTC

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

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


##########
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() <= 10) {

Review Comment:
   ```suggestion
           if (masterConfig.getWorkerGroupRefreshInterval().getSeconds() <= 1) {
   ```



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