Adding in a cancel method to the build component so we can properly clean up the job task.
This commit is contained in:
parent
3bbd8ca898
commit
c6be12e31e
3 changed files with 11 additions and 2 deletions
|
@ -747,7 +747,8 @@ class BUILD_PHASE(object):
|
|||
def is_terminal_phase(cls, phase):
|
||||
return (phase == cls.COMPLETE or
|
||||
phase == cls.ERROR or
|
||||
phase == cls.INTERNAL_ERROR)
|
||||
phase == cls.INTERNAL_ERROR or
|
||||
phase == cls.CANCELLED)
|
||||
|
||||
|
||||
class QueueItem(BaseModel):
|
||||
|
|
Reference in a new issue