Use job group instead of parsing the task arguments

This commit is contained in:
eikek
2021-11-07 22:39:44 +01:00
parent a09f75e45e
commit 61c01ad79b
3 changed files with 10 additions and 8 deletions

View File

@ -204,7 +204,7 @@ final class SchedulerImpl[F[_]: Async](
_ <- QJob.setFinalState(job.id, finalState, store)
_ <- pubSub.publish1IgnoreErrors(
JobDone.topic,
JobDone(job.id, job.task, job.args, finalState)
JobDone(job.id, job.group, job.task, job.args, finalState)
)
} yield ()