Add configurable limit to size of stdout shown for a single job event in list view.

This commit is contained in:
Chris Church
2016-11-21 11:30:11 -05:00
parent b8e7170a72
commit b9eb619697
3 changed files with 33 additions and 0 deletions

View File

@@ -157,6 +157,16 @@ register(
category_slug='jobs',
)
register(
'EVENT_STDOUT_MAX_BYTES_DISPLAY',
field_class=fields.IntegerField,
min_value=0,
label=_('Job Event Standard Output Maximum Display Size'),
help_text=_(u'Maximum Size of Standard Output in bytes to display for a single job or ad hoc command event. `stdout` will end with `\u2026` when truncated.'),
category=_('Jobs'),
category_slug='jobs',
)
register(
'SCHEDULE_MAX_JOBS',
field_class=fields.IntegerField,