提交 9e7eb432 编写于 作者: L leon.li

change alteration period to 30 minutes when generating summary message

上级 dabe84e4
......@@ -32,6 +32,8 @@ public class AlertSummaryExecutor {
public static final long SUMMARY_DURATION = 5 * 60 * 1000L;
public static final long ALTERATION_DURATION = 30 * 60 * 1000L;
private List<String> builderReceivers(String str) {
List<String> result = new ArrayList<String>();
......
......@@ -42,7 +42,7 @@ public class AlterationSummaryContentGenerator extends SummaryContentGenerator {
}
private Date getStartDate(Date date) {
return new Date(date.getTime() - AlertSummaryExecutor.SUMMARY_DURATION);
return new Date(date.getTime() - AlertSummaryExecutor.ALTERATION_DURATION);
}
@Override
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册