mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 08:37:48 -02:30
move timeout settings into 3 different settings vars
This commit is contained in:
@@ -583,6 +583,9 @@ class Job(UnifiedJob, JobOptions, JobNotificationMixin):
|
||||
from awx.main.tasks import RunJob
|
||||
return RunJob
|
||||
|
||||
def _global_timeout_setting(self):
|
||||
return 'DEFAULT_JOB_TIMEOUT'
|
||||
|
||||
def get_absolute_url(self):
|
||||
return reverse('api:job_detail', args=(self.pk,))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user