mirror of
https://github.com/ansible/awx.git
synced 2026-03-11 14:39:30 -02:30
Add default values for job timeouts.
This commit is contained in:
@@ -178,6 +178,7 @@ register(
|
|||||||
'DEFAULT_JOB_TIMEOUT',
|
'DEFAULT_JOB_TIMEOUT',
|
||||||
field_class=fields.IntegerField,
|
field_class=fields.IntegerField,
|
||||||
min_value=0,
|
min_value=0,
|
||||||
|
default=0,
|
||||||
label=_('Default Job Timeout'),
|
label=_('Default Job Timeout'),
|
||||||
help_text=_('Maximum time to allow jobs to run. Use value of 0 to indicate that no '
|
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.'),
|
'timeout should be imposed. A timeout set on an individual job template will override this.'),
|
||||||
@@ -189,6 +190,7 @@ register(
|
|||||||
'DEFAULT_INVENTORY_UPDATE_TIMEOUT',
|
'DEFAULT_INVENTORY_UPDATE_TIMEOUT',
|
||||||
field_class=fields.IntegerField,
|
field_class=fields.IntegerField,
|
||||||
min_value=0,
|
min_value=0,
|
||||||
|
default=0,
|
||||||
label=_('Default Inventory Update Timeout'),
|
label=_('Default Inventory Update Timeout'),
|
||||||
help_text=_('Maximum time to allow inventory updates to run. Use value of 0 to indicate that no '
|
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.'),
|
'timeout should be imposed. A timeout set on an individual inventory source will override this.'),
|
||||||
@@ -200,6 +202,7 @@ register(
|
|||||||
'DEFAULT_PROJECT_UPDATE_TIMEOUT',
|
'DEFAULT_PROJECT_UPDATE_TIMEOUT',
|
||||||
field_class=fields.IntegerField,
|
field_class=fields.IntegerField,
|
||||||
min_value=0,
|
min_value=0,
|
||||||
|
default=0,
|
||||||
label=_('Default Project Update Timeout'),
|
label=_('Default Project Update Timeout'),
|
||||||
help_text=_('Maximum time to allow project updates to run. Use value of 0 to indicate that no '
|
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.'),
|
'timeout should be imposed. A timeout set on an individual project will override this.'),
|
||||||
|
|||||||
Reference in New Issue
Block a user