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


##########
dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/alert/ProcessAlertManager.java:
##########
@@ -275,6 +277,9 @@ public boolean isNeedToSendWarning(ProcessInstance 
processInstance) {
      * @param processInstance success process instance
      */
     public void closeAlert(ProcessInstance processInstance) {
+        if (!PropertyUtils.getBoolean(Constants.AUTO_CLOSE_ALERT, false)) {

Review Comment:
   Should we add this in config file?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to