Closed medihack closed 1 month ago
I already started working on a PR.
I added a boolean abort
column to the jobs table. The migration will change all aborting
states to doing
states and set the abort
to true
.
One principle question: Should we keep the abort
as true
when the job is finished, or should we reset it to false
? Does it matter somehow?
Should we keep the abort as true when the job is finished, or should we reset it to false? Does it matter somehow?
(As long as the job is not retried, I don't have a strong opinion)
Fixed by #1139
It would be simpler if we had a dedicated field for an abortion request instead of an aborting status.
aborting
state masks thedoing
state. State transitions fromaborting
are the same as fromdoing
.