去掉无用的警告日志打印
This commit is contained in:
@@ -235,7 +235,6 @@ public class AsnIpCfgService extends CrudService<CrudDao<AsnIpCfg>, AsnIpCfg> {
|
|||||||
public void saveAsnIpBatch(List<AsnIpCfg> cfgs){
|
public void saveAsnIpBatch(List<AsnIpCfg> cfgs){
|
||||||
//需要通过新增域接口新增的ip集合
|
//需要通过新增域接口新增的ip集合
|
||||||
List<AsnIpCfg> toAddRegionAsnIpCfgs=Lists.newArrayList();
|
List<AsnIpCfg> toAddRegionAsnIpCfgs=Lists.newArrayList();
|
||||||
logger.warn("process configGroupInfo and delete IP start");
|
|
||||||
long start=System.currentTimeMillis();
|
long start=System.currentTimeMillis();
|
||||||
for(AsnIpCfg cfg:cfgs) {
|
for(AsnIpCfg cfg:cfgs) {
|
||||||
if(Constants.VALID_YES==cfg.getIsValid().intValue()) {
|
if(Constants.VALID_YES==cfg.getIsValid().intValue()) {
|
||||||
@@ -243,7 +242,6 @@ public class AsnIpCfgService extends CrudService<CrudDao<AsnIpCfg>, AsnIpCfg> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
long end=System.currentTimeMillis();
|
long end=System.currentTimeMillis();
|
||||||
logger.warn("process configGroupInfo and delete IP finish,cost:"+(end-start));
|
|
||||||
this.save(cfgs);
|
this.save(cfgs);
|
||||||
cfgs.clear();
|
cfgs.clear();
|
||||||
splitAndSend(toAddRegionAsnIpCfgs,Constants.VALID_YES);
|
splitAndSend(toAddRegionAsnIpCfgs,Constants.VALID_YES);
|
||||||
|
|||||||
Reference in New Issue
Block a user