mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Add ssh-max-procs to the command line options for salt-ssh
This commit is contained in:
parent
089207094a
commit
4276ecc456
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user