Skip to content

Commit 7da47a2

Browse files
committed
qos_client: add missing Command arguments for pool size and client timeout
1 parent bff3355 commit 7da47a2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/qos_client/src/cli/mod.rs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,21 @@ impl Command {
570570
.takes_value(false)
571571
}
572572

573+
fn pool_size() -> Token {
574+
Token::new(POOL_SIZE, "Socket pool size for USOCK/VSOCK")
575+
.required(false)
576+
.takes_value(true)
577+
}
578+
579+
fn client_timeout() -> Token {
580+
Token::new(
581+
CLIENT_TIMEOUT,
582+
"Client timeout for enclave <-> app communication",
583+
)
584+
.required(false)
585+
.takes_value(true)
586+
}
587+
573588
fn base() -> Parser {
574589
Parser::new()
575590
.token(
@@ -654,6 +669,8 @@ impl Command {
654669
.token(Self::patch_set_dir_token())
655670
.token(Self::quorum_key_path_token())
656671
.token(Self::pivot_args_token())
672+
.token(Self::pool_size())
673+
.token(Self::client_timeout())
657674
}
658675

659676
fn approve_manifest() -> Parser {

0 commit comments

Comments
 (0)