mirror of
https://github.com/aquasecurity/kube-hunter.git
synced 2026-08-23 22:26:23 +00:00
Changed help message of --num-worker-threads flag
This commit is contained in:
@@ -133,10 +133,13 @@ def parser_add_arguments(parser):
|
||||
|
||||
parser.add_argument("--network-timeout", type=float, default=5.0, help="network operations timeout")
|
||||
|
||||
parser.add_argument("--num-worker-threads", type=int, default=800,
|
||||
help="In some environments the default thread count of 800 is too much. "
|
||||
"This crashes the process when trying to open more threads."
|
||||
"In that case feel free to try a lower number, like 400 for example.")
|
||||
parser.add_argument(
|
||||
"--num-worker-threads",
|
||||
type=int,
|
||||
default=800,
|
||||
help="In some environments the default thread count (800) can cause the process to crash. "
|
||||
"In the case of a crash try lowering the thread count",
|
||||
)
|
||||
|
||||
|
||||
def parse_args(add_args_hook):
|
||||
|
||||
Reference in New Issue
Block a user