Browse Source

报警发数新增批量发送

shaohongbo 3 years ago
parent
commit
1f5e1700ed

+ 2 - 1
src/main/java/com/persagy/apm/diagnose/indicatorrecord/service/impl/MonitorIndicatorRecordServiceImpl.java

@@ -259,7 +259,8 @@ public class MonitorIndicatorRecordServiceImpl implements IMonitorIndicatorRecor
     private Date getDefultStartTime() throws Exception {
         Date lastComputeTime;
         if (StringUtils.isBlank(computePropertiesConfig.getDStartTime())) {
-            lastComputeTime = new Date();
+
+            lastComputeTime = DateUtils.get15MinLite(new Date());
         } else {
             lastComputeTime = DateUtils.str2Date(computePropertiesConfig.getDStartTime(), DateUtils.SDF_SECOND);
         }

+ 1 - 1
src/main/resources/bootstrap.yml

@@ -1,6 +1,6 @@
 server:
   port:
-    8080
+    8081
 spring:
   application:
     name: energy-eq-run-diagnose