Merge pull request #5753 from wenottingham/a-good-help-message-is-hard-to-find

Fix help for new analytics gather interval

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot]
2020-01-23 22:20:56 +00:00
committed by GitHub

View File

@@ -802,7 +802,7 @@ register(
register( register(
'AUTOMATION_ANALYTICS_LAST_GATHER', 'AUTOMATION_ANALYTICS_LAST_GATHER',
field_class=fields.DateTimeField, field_class=fields.DateTimeField,
label=_('Last gather date for Automation Analytics'), label=_('Last gather date for Automation Analytics.'),
allow_null=True, allow_null=True,
category=_('System'), category=_('System'),
category_slug='system' category_slug='system'
@@ -812,7 +812,8 @@ register(
register( register(
'AUTOMATION_ANALYTICS_GATHER_INTERVAL', 'AUTOMATION_ANALYTICS_GATHER_INTERVAL',
field_class=fields.IntegerField, field_class=fields.IntegerField,
label=_('Interval (in seconds) between data gathering'), label=_('Automation Analytics Gather Interval'),
help_text=_('Interval (in seconds) between data gathering.'),
default=14400, # every 4 hours default=14400, # every 4 hours
min_value=1800, # every 30 minutes min_value=1800, # every 30 minutes
category=_('System'), category=_('System'),