Skip to content

Commit

Permalink
fix: 分发任务调度被中断 TencentBlueKing#1614
Browse files Browse the repository at this point in the history
  • Loading branch information
xujian-xj authored Jan 16, 2024
1 parent bbba59f commit 01cf83d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,8 @@ class ReplicaTaskServiceImpl(
.startNow()
.build()
replicaTaskScheduler.scheduleJob(jobDetail, trigger)
tReplicaTask.status = ReplicaStatus.WAITING
replicaTaskDao.save(tReplicaTask)
} else {
// 提示用户该任务未执行
throw ErrorCodeException(ReplicationMessageCode.SCHEDULED_JOB_LOADING, key)
Expand Down

0 comments on commit 01cf83d

Please sign in to comment.