mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
bump max procs default up to 25
This commit is contained in:
parent
ef5fcce911
commit
b77a78f69f
@ -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:
|
||||
|
@ -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 '
|
||||
|
Loading…
Reference in New Issue
Block a user