remove timeout settings example, attach minimum timeout values

This commit is contained in:
AlanCoding 2016-10-31 17:01:19 -04:00
parent de66318381
commit 83e31b8618
2 changed files with 3 additions and 5 deletions

View File

@ -177,6 +177,7 @@ register(
register(
'DEFAULT_JOB_TIMEOUT',
field_class=fields.IntegerField,
min_value=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.'),
@ -187,6 +188,7 @@ register(
register(
'DEFAULT_INVENTORY_UPDATE_TIMEOUT',
field_class=fields.IntegerField,
min_value=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.'),
@ -197,6 +199,7 @@ register(
register(
'DEFAULT_PROJECT_UPDATE_TIMEOUT',
field_class=fields.IntegerField,
min_value=0,
label=_('Default Project 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.'),

View File

@ -276,8 +276,3 @@ TEST_OPENSTACK_PROJECT = ''
# Azure credentials.
TEST_AZURE_USERNAME = ''
TEST_AZURE_KEY_DATA = ''
# Examples of global job timeout settings
# DEFAULT_JOB_TIMEOUT = 10
# DEFAULT_INVENTORY_UPDATE_TIMEOUT = 15
# DEFAULT_PROJECT_UPDATE_TIMEOUT = 20