Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -318,14 +318,14 @@ fn customise_config(arg_matches: &ArgMatches, config: Configuration) -> Configur

// If the operator did **not** supply `--rpc-max-subscriptions-per-connection` set to high value.
config.rpc.max_subs_per_conn = match arg_matches
.value_source("rpc-max-subscriptions-per-connection")
.value_source("rpc_max_subscriptions_per_connection")
{
Some(ValueSource::CommandLine) => cli.run.rpc_params.rpc_max_subscriptions_per_connection,
_ => 10000,
};

// If the operator did **not** supply `--rpc-max-connections` set to high value.
config.rpc.max_connections = match arg_matches.value_source("rpc-max-connections") {
config.rpc.max_connections = match arg_matches.value_source("rpc_max_connections") {
Some(ValueSource::CommandLine) => cli.run.rpc_params.rpc_max_connections,
_ => 10000,
};
Expand Down
Loading