Skip to content

Commit

Permalink
Set default MAX_FORKS to 200
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemcdermott committed Jan 15, 2020
1 parent b7a064b commit a6f063b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions awx/main/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,14 +615,15 @@ def _load_default_license_from_file():
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',
)
Expand Down

0 comments on commit a6f063b

Please sign in to comment.