make the max host default to 100

Make the max host default 100. We are seeing with moderate number of hosts i.e. 500 hosts having a few host variable each runs into max size of nginx message and nginx rejects the request.
we are therefor keeping the value small so that it doesn't fail with decent number of host variables as well.

remove the 999 hosts test because the default max is 100

fix the credential check

fix the instance groups and execution env permission checks
This commit is contained in:
jainnikhil30
2023-03-02 14:06:12 +05:30
committed by Elijah DeLee
parent bca0f2dd47
commit 47b7bbeda7
5 changed files with 11 additions and 5 deletions

View File

@@ -788,7 +788,7 @@ register(
register(
'BULK_HOST_MAX_CREATE',
field_class=fields.IntegerField,
default=1000,
default=100,
label=_('Max number of hosts to allow to be created in a single bulk action'),
help_text=_('Max number of hosts to allow to be created in a single bulk action'),
category=_('Bulk Actions'),