bump max procs default up to 25

This commit is contained in:
Thomas S Hatch 2013-09-26 15:47:55 -06:00
parent ef5fcce911
commit b77a78f69f
2 changed files with 3 additions and 3 deletions

View File

@ -176,7 +176,7 @@ class SSH(object):
target_iter = self.targets.__iter__()
done = set()
while True:
if len(running) < self.opts.get('ssh_max_procs', 5):
if len(running) < self.opts.get('ssh_max_procs', 25):
try:
host = next(target_iter)
except StopIteration:
@ -264,7 +264,7 @@ class SSH(object):
rets = set()
init = False
while True:
if len(running) < self.opts.get('ssh_max_procs', 5) and not init:
if len(running) < self.opts.get('ssh_max_procs', 25) and not init:
try:
host = next(target_iter)
except StopIteration:

View File

@ -1556,7 +1556,7 @@ class SaltSSHOptionParser(OptionParser, ConfigDirMixIn, MergeConfigMixIn,
self.add_option(
'--max-procs',
dest='ssh_max_procs',
default=5,
default=25,
type=int,
help='Set the number of concurrent minions to communicate with. '
'This value defines how many processes are opened up at a '