Merge pull request #4080 from cchurch/event-stdout-max-bytes-display

Add configurable limit to size of stdout shown for a single job event
This commit is contained in:
Chris Church
2016-11-22 14:50:38 -05:00
committed by GitHub
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,