浏览代码

debug 重试到10

master
PoffyZhang 1年前
父节点
当前提交
40eba2fd07
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/staging/service/impl/NdWorkNoticeStagingServiceImpl.java
  2. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/staging/service/impl/ProjectStagingServiceImpl.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/staging/service/impl/NdWorkNoticeStagingServiceImpl.java 查看文件

@@ -48,7 +48,7 @@ public class NdWorkNoticeStagingServiceImpl extends ServiceImpl<NdWorkNoticeStag
log.info("没有对应重试间隔时间 添加重试信息失败");
return Boolean.FALSE;
}
Integer addSeconds = workNoticeFlowMapUtil.intervalTimeMap.get(retryTimes);
Integer addSeconds = workNoticeFlowMapUtil.intervalTimeMap.get(workNoticeStaging.getRetryTimes());
Boolean dead = Boolean.FALSE;
//超过重试最大次数 dead置为 true
if (retryTimes.compareTo(StagingContant.Retry.MAX_RETRY_TIMES) > 0) {


+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/staging/service/impl/ProjectStagingServiceImpl.java 查看文件

@@ -65,7 +65,7 @@ public class ProjectStagingServiceImpl extends ServiceImpl<ProjectStagingMapper,
log.info("没有对应重试间隔时间 添加重试信息失败");
return Boolean.FALSE;
}
Integer addSeconds = projectStatusFlowUtil.intervalTimeMap.get(retryTimes);
Integer addSeconds = projectStatusFlowUtil.intervalTimeMap.get(projectStaging.getRetryTimes());
Boolean dead = Boolean.FALSE;
//超过重试最大次数 dead置为 true
if(retryTimes.compareTo(StagingContant.Retry.MAX_RETRY_TIMES) > 0){


正在加载...
取消
保存