Add a periodic task to reap unreleased receptor work units

- Add work_unit_id field to UnifiedJob
This commit is contained in:
Seth Foster
2021-06-11 00:36:51 -04:00
committed by Shane McDonald
parent 7b9bcd0481
commit 75a27c38c2
6 changed files with 64 additions and 6 deletions

View File

@@ -717,6 +717,9 @@ class UnifiedJob(
editable=False,
help_text=_("The version of Ansible Core installed in the execution environment."),
)
work_unit_id = models.CharField(
max_length=255, blank=True, default=None, editable=False, null=True, help_text=_("The Receptor work unit ID associated with this job.")
)
def get_absolute_url(self, request=None):
RealClass = self.get_real_instance_class()