This commit is contained in:
Ewout van Mansom 2024-04-28 18:51:42 +08:00 committed by GitHub
commit 081bcc75d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -261,7 +261,7 @@ export class RunnerServer {
.catch(err2 => logger.error({ err: err2 }, 'Cannot abort job after error'))
})
.finally(() => {
this.processingJobs = this.processingJobs.filter(p => p !== processingJob)
this.processingJobs = this.processingJobs.filter(p => p.job.uuid !== processingJob.job.uuid)
return this.checkAvailableJobs()
})