Fix stuck runner for real?

pull/6318/head
Ewout van Mansom 2024-04-09 03:10:57 +02:00
parent 7163a1a044
commit 932425348f
1 changed files with 1 additions and 1 deletions

View File

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