Skip to content

Commit

Permalink
Ensure output value for max_concurrent_requests is reported accurately
Browse files Browse the repository at this point in the history
Fixes issue paradigmxyz#200
  • Loading branch information
mud2monarch authored Nov 17, 2024
1 parent c3a2f1d commit 25ed62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cli/src/parse/source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub(crate) async fn parse_source(args: &Args) -> Result<Source, ParseError> {
rpc_url,
provider,
labels: SourceLabels {
max_concurrent_requests: args.requests_per_second.map(|x| x as u64),
max_concurrent_requests: args.max_concurrent_requests(|x| x as u64),
max_requests_per_second: args.requests_per_second.map(|x| x as u64),
max_retries: Some(args.max_retries),
initial_backoff: Some(args.initial_backoff),
Expand Down

0 comments on commit 25ed62e

Please sign in to comment.