Set default MAX_FORKS to 200

This commit is contained in:
Jake McDermott 2020-01-15 16:34:56 -05:00
parent b7a064b05d
commit a6f063b199
No known key found for this signature in database
GPG Key ID: 0E56ED990CDFCB4F

View File

@ -615,14 +615,15 @@ register(
category=_('Jobs'),
category_slug='jobs',
)
register(
'MAX_FORKS',
field_class=fields.IntegerField,
allow_null=False,
default=0,
default=200,
label=_('Maximum number of forks per job.'),
help_text=_('Saving a Job Template with more than this number of forks will result in an error. '
'When set to 0 (the default), no limit is applied.'),
'When set to 0, no limit is applied.'),
category=_('Jobs'),
category_slug='jobs',
)