From 585b490f199cbd3e6e2ac67ef63679367ef7ee5d Mon Sep 17 00:00:00 2001 From: danielsagi Date: Fri, 6 May 2022 23:39:14 -0700 Subject: [PATCH] Changed help message of --num-worker-threads flag --- kube_hunter/conf/parser.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/kube_hunter/conf/parser.py b/kube_hunter/conf/parser.py index d5c5430..07b0c3f 100644 --- a/kube_hunter/conf/parser.py +++ b/kube_hunter/conf/parser.py @@ -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):