fix: 修复job 取消后未删除队列中job
This commit is contained in:
@@ -122,7 +122,7 @@ public class JobController {
|
||||
}
|
||||
|
||||
if (job.getStatus().contains(RunnerConstant.JobStatus.PENDING.getValue())){
|
||||
jobQueueManager.requeueJob(job);
|
||||
jobQueueManager.removeJob(job);
|
||||
}
|
||||
|
||||
Thread runningThread = Constants.RUNNING_JOB_THREAD.get(id);
|
||||
|
||||
Reference in New Issue
Block a user