mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Set default MAX_FORKS to 200
This commit is contained in:
@@ -615,14 +615,15 @@ register(
|
|||||||
category=_('Jobs'),
|
category=_('Jobs'),
|
||||||
category_slug='jobs',
|
category_slug='jobs',
|
||||||
)
|
)
|
||||||
|
|
||||||
register(
|
register(
|
||||||
'MAX_FORKS',
|
'MAX_FORKS',
|
||||||
field_class=fields.IntegerField,
|
field_class=fields.IntegerField,
|
||||||
allow_null=False,
|
allow_null=False,
|
||||||
default=0,
|
default=200,
|
||||||
label=_('Maximum number of forks per job.'),
|
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. '
|
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=_('Jobs'),
|
||||||
category_slug='jobs',
|
category_slug='jobs',
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user