Authored by wangning

update

@@ -376,7 +376,7 @@ public class NewJavaApiInfoServiceImpl implements NewJavaApiInfoService { @@ -376,7 +376,7 @@ public class NewJavaApiInfoServiceImpl implements NewJavaApiInfoService {
376 if(costThreshold == null){ 376 if(costThreshold == null){
377 costThreshold = 150; 377 costThreshold = 150;
378 } 378 }
379 - String nowString = DateTime.now().toString("yyyy-MM-dd HH:mm:ss"); 379 + String nowString = DateTime.now().minusSeconds(10).toString("yyyy-MM-dd HH:mm:ss");
380 log.info("sendAlarmMsg nowString is :" + nowString + ",costThreshold is " + costThreshold); 380 log.info("sendAlarmMsg nowString is :" + nowString + ",costThreshold is " + costThreshold);
381 List<Map> list = serviceAccessMapper.getAlarmData(costThreshold); 381 List<Map> list = serviceAccessMapper.getAlarmData(costThreshold);
382 //获取cpu、内存、带宽使用情况 382 //获取cpu、内存、带宽使用情况