Fix stuck runner for real?

This commit is contained in:
Ewout van Mansom 2024-04-09 03:10:57 +02:00
parent 7163a1a044
commit 932425348f

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()
})