Skip to content

Commit 594167c

Browse files
committed
Increase RPC configuration limits for connections, subscriptions, and buffer capacity in both service and test implementations.
1 parent 6245919 commit 594167c

File tree

2 files changed

+6
-6
lines changed
  • domains/test/service/src
  • test/subspace-test-service/src

2 files changed

+6
-6
lines changed

domains/test/service/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,16 +113,16 @@ pub fn node_config(
113113
RpcConfiguration {
114114
addr: Some(vec![RpcEndpoint {
115115
batch_config: RpcBatchRequestConfig::Disabled,
116-
max_connections: 10,
116+
max_connections: 100,
117117
listen_addr,
118118
rpc_methods: Default::default(),
119119
rate_limit: None,
120120
rate_limit_trust_proxy_headers: false,
121121
rate_limit_whitelisted_ips: vec![],
122122
max_payload_in_mb: 15,
123123
max_payload_out_mb: 15,
124-
max_subscriptions_per_connection: 10,
125-
max_buffer_capacity_per_connection: 10,
124+
max_subscriptions_per_connection: 100,
125+
max_buffer_capacity_per_connection: 100,
126126
cors: None,
127127
retry_random_port: true,
128128
is_optional: false,

test/subspace-test-service/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,16 +166,16 @@ pub fn node_config(
166166
RpcConfiguration {
167167
addr: Some(vec![RpcEndpoint {
168168
batch_config: RpcBatchRequestConfig::Disabled,
169-
max_connections: 10,
169+
max_connections: 100,
170170
listen_addr,
171171
rpc_methods: Default::default(),
172172
rate_limit: None,
173173
rate_limit_trust_proxy_headers: false,
174174
rate_limit_whitelisted_ips: vec![],
175175
max_payload_in_mb: 15,
176176
max_payload_out_mb: 15,
177-
max_subscriptions_per_connection: 10,
178-
max_buffer_capacity_per_connection: 10,
177+
max_subscriptions_per_connection: 100,
178+
max_buffer_capacity_per_connection: 100,
179179
cors: None,
180180
retry_random_port: true,
181181
is_optional: false,

0 commit comments

Comments
 (0)