aboutsummaryrefslogtreecommitdiff
path: root/src/membership.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/membership.rs')
-rw-r--r--src/membership.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/membership.rs b/src/membership.rs
index 78c1dbe3..f9ffa3b4 100644
--- a/src/membership.rs
+++ b/src/membership.rs
@@ -296,8 +296,10 @@ impl System {
ring.rebuild_ring();
let (update_ring, ring) = watch::channel(Arc::new(ring));
- let rpc_http_client =
- Arc::new(RpcHttpClient::new(&config.rpc_tls).expect("Could not create RPC client"));
+ let rpc_http_client = Arc::new(
+ RpcHttpClient::new(config.max_concurrent_requests, &config.rpc_tls)
+ .expect("Could not create RPC client"),
+ );
let rpc_path = MEMBERSHIP_RPC_PATH.to_string();
let rpc_client = RpcClient::new(