Add ssh-max-procs to the command line options for salt-ssh

This commit is contained in:
Thomas S Hatch 2013-09-26 10:38:40 -06:00
parent 089207094a
commit 4276ecc456

View File

@ -1553,6 +1553,15 @@ class SaltSSHOptionParser(OptionParser, ConfigDirMixIn, MergeConfigMixIn,
'target\'s data. This is needed if a target\'s grains have '
'been changed and the auto refresh timeframe has not been '
'reached.'))
self.add_option(
'--ssh-max-procs',
dest='ssh_max_procs',
default=5,
type=int,
help='Set the number of concurrent minions to communicate with. '
'This value defines how many processes are opened up at a '
'time to manage connections, the more running processes the '
'faster communication should be, default is 5')
def _mixin_after_parsed(self):
if self.options.list: