From 839242d636dd1bd76d6df61c5c8309e38931a7c5 Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Mon, 31 Jul 2023 16:03:58 +0100 Subject: [PATCH] target/descriptor: Add max_async generic target parameter --- wa/framework/target/descriptor.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wa/framework/target/descriptor.py b/wa/framework/target/descriptor.py index 0b5941e33..b04e67c0c 100644 --- a/wa/framework/target/descriptor.py +++ b/wa/framework/target/descriptor.py @@ -198,6 +198,12 @@ def get_descriptions(self): # pylint: disable=no-self-use description=''' A regex that matches the shell prompt on the target. '''), + + Parameter('max_async', kind=int, default=50, + description=''' + The maximum number of concurent asynchronous connections to the + target maintained at any time. + '''), ] COMMON_PLATFORM_PARAMS = [