From 443f100b5fc36d60f4a69f887e8ed323f185ad8e Mon Sep 17 00:00:00 2001 From: Chris Church Date: Tue, 15 Nov 2016 01:12:06 -0500 Subject: [PATCH] Add default values for job timeouts. --- awx/main/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/awx/main/conf.py b/awx/main/conf.py index aff1be27f4..f2ab7a36f1 100644 --- a/awx/main/conf.py +++ b/awx/main/conf.py @@ -178,6 +178,7 @@ register( 'DEFAULT_JOB_TIMEOUT', field_class=fields.IntegerField, min_value=0, + default=0, label=_('Default Job Timeout'), help_text=_('Maximum time to allow jobs to run. Use value of 0 to indicate that no ' 'timeout should be imposed. A timeout set on an individual job template will override this.'), @@ -189,6 +190,7 @@ register( 'DEFAULT_INVENTORY_UPDATE_TIMEOUT', field_class=fields.IntegerField, min_value=0, + default=0, label=_('Default Inventory Update Timeout'), help_text=_('Maximum time to allow inventory updates to run. Use value of 0 to indicate that no ' 'timeout should be imposed. A timeout set on an individual inventory source will override this.'), @@ -200,6 +202,7 @@ register( 'DEFAULT_PROJECT_UPDATE_TIMEOUT', field_class=fields.IntegerField, min_value=0, + default=0, label=_('Default Project Update Timeout'), help_text=_('Maximum time to allow project updates to run. Use value of 0 to indicate that no ' 'timeout should be imposed. A timeout set on an individual project will override this.'),