Skip to content

Commit

Permalink
Remove unused NumConnectionsToNodesFlag (#1239)
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-shim authored Feb 7, 2025
1 parent 706e66b commit 0b31cb6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions disperser/cmd/controller/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,6 @@ var (
Required: true,
EnvVar: common.PrefixEnvVar(envVarPrefix, "NODE_REQUEST_TIMEOUT"),
}
NumConnectionsToNodesFlag = cli.IntFlag{
Name: common.PrefixFlag(FlagPrefix, "num-connections-to-nodes"),
Usage: "Max number of connections to nodes",
Required: true,
EnvVar: common.PrefixEnvVar(envVarPrefix, "NUM_CONNECTIONS_TO_NODES"),
}
FinalizationBlockDelayFlag = cli.Uint64Flag{
Name: common.PrefixFlag(FlagPrefix, "finalization-block-delay"),
Usage: "Number of blocks to wait before finalizing",
Expand Down Expand Up @@ -203,7 +197,6 @@ var requiredFlags = []cli.Flag{

DispatcherPullIntervalFlag,
NodeRequestTimeoutFlag,
NumConnectionsToNodesFlag,
}

var optionalFlags = []cli.Flag{
Expand Down

0 comments on commit 0b31cb6

Please sign in to comment.