Skip to content

Commit f87b0d2

Browse files
committed
Add client id for benchmark cli
1 parent 03006a3 commit f87b0d2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

cmd/mpcium-cli/benchmark.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ func benchmarkCommand() *cli.Command {
8080
Value: false,
8181
Category: "authentication",
8282
},
83+
&cli.StringFlag{
84+
Name: "client-id",
85+
Usage: "Client ID for result routing (scopes results to this client instance)",
86+
Category: "configuration",
87+
},
8388
&cli.BoolFlag{
8489
Name: "debug",
8590
Usage: "Enable debug logging",
@@ -244,6 +249,7 @@ func createMPCClient(cmd *cli.Command) (client.MPCClient, error) {
244249
opts := client.Options{
245250
NatsConn: nc,
246251
Signer: signer,
252+
ClientID: cmd.String("client-id"),
247253
}
248254
return client.NewMPCClient(opts), nil
249255
}

0 commit comments

Comments
 (0)