From a7d3b6209277df9249bee135aefa6f929aa94cc6 Mon Sep 17 00:00:00 2001 From: Roberts Pumpurs Date: Tue, 21 Jan 2025 15:01:41 +0200 Subject: [PATCH] test: increase concurrency limit --- crates/solana-event-forwarder/src/component.rs | 4 ++-- crates/solana-listener/src/component.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/solana-event-forwarder/src/component.rs b/crates/solana-event-forwarder/src/component.rs index 4a66d2c..cf21b0c 100644 --- a/crates/solana-event-forwarder/src/component.rs +++ b/crates/solana-event-forwarder/src/component.rs @@ -1228,7 +1228,7 @@ mod tests { }; let rpc_client = retrying_solana_http_sender::new_client(&retrying_solana_http_sender::Config { - max_concurrent_rpc_requests: 1, + max_concurrent_rpc_requests: 10, solana_http_rpc: rpc_client_url.parse().unwrap(), commitment: CommitmentConfig::confirmed(), }); @@ -1325,7 +1325,7 @@ mod tests { }; let rpc_client = retrying_solana_http_sender::new_client(&retrying_solana_http_sender::Config { - max_concurrent_rpc_requests: 1, + max_concurrent_rpc_requests: 10, solana_http_rpc: rpc_client_url.parse().unwrap(), commitment: CommitmentConfig::confirmed(), }); diff --git a/crates/solana-listener/src/component.rs b/crates/solana-listener/src/component.rs index b144efa..a329688 100644 --- a/crates/solana-listener/src/component.rs +++ b/crates/solana-listener/src/component.rs @@ -177,7 +177,7 @@ mod tests { }; let rpc_client = retrying_solana_http_sender::new_client(&retrying_solana_http_sender::Config { - max_concurrent_rpc_requests: 1, + max_concurrent_rpc_requests: 10, solana_http_rpc: rpc_client_url.parse().unwrap(), commitment: CommitmentConfig::confirmed(), });