Skip to content

Commit

Permalink
Merge pull request #2046 from OffchainLabs/batch-limit-help-text
Browse files Browse the repository at this point in the history
Fix help text for batch limits
  • Loading branch information
joshuacolvin0 authored Jan 5, 2024
2 parents d0624ec + 1b27ae0 commit 6ee273e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/genericconf/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ func (c *RpcConfig) Apply(stackConf *node.Config) {
}

func RpcConfigAddOptions(prefix string, f *flag.FlagSet) {
f.Int(prefix+".max-batch-response-size", DefaultRpcConfig.MaxBatchResponseSize, "the maximum response size for a JSON-RPC request measured in bytes (-1 means no limit)")
f.Int(prefix+".batch-request-limit", DefaultRpcConfig.BatchRequestLimit, "the maximum number of requests in a batch")
f.Int(prefix+".max-batch-response-size", DefaultRpcConfig.MaxBatchResponseSize, "the maximum response size for a JSON-RPC request measured in bytes (0 means no limit)")
f.Int(prefix+".batch-request-limit", DefaultRpcConfig.BatchRequestLimit, "the maximum number of requests in a batch (0 means no limit)")
}

0 comments on commit 6ee273e

Please sign in to comment.