Skip to content

Commit

Permalink
feat: add alias for max response size
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Jul 25, 2023
1 parent ea11787 commit 7142f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/reth/src/args/rpc_server_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ pub struct RpcServerArgs {
pub rpc_max_request_size: u32,

/// Set the maximum RPC response payload size for both HTTP and WS in megabytes.
#[arg(long, default_value_t = RPC_DEFAULT_MAX_RESPONSE_SIZE_MB)]
#[arg(long, visible_alias = "--rpc.returndata.limit", default_value_t = RPC_DEFAULT_MAX_RESPONSE_SIZE_MB)]
pub rpc_max_response_size: u32,

/// Set the the maximum concurrent subscriptions per connection.
Expand Down

0 comments on commit 7142f9f

Please sign in to comment.