Skip to content

Commit

Permalink
feature: 原子操作能力支持滚动执行 TencentBlueKing#446
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyu096 committed Jan 19, 2022
1 parent cf50726 commit d81c293
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -456,11 +456,11 @@ private void refreshStep(StepInstanceBaseDTO stepInstance) {
long totalTime = currentTime - startTime;
switch (gseTaskStatus) {
case SUCCESS:
// taskInstanceService.updateStepExecutionInfo(stepInstanceId, RunStatusEnum.SUCCESS,
// startTime, System.currentTimeMillis(), totalTime, targetIpNum + invalidIpNum,
// successTargetIpNum, failTargetIpNum + invalidIpNum);
if (stepInstance.isRollingStep()) {

} else {
taskInstanceService.updateStepExecutionInfo(stepInstanceId, RunStatusEnum.SUCCESS,
startTime, System.currentTimeMillis(), totalTime);
}
break;
case FAIL:
Expand Down

0 comments on commit d81c293

Please sign in to comment.