mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 13:31:10 +00:00
core: allow setting max ws rpc connections (#2632)
* core: allow setting max ws rpc connections * style: break long lines * core: fix service tests
This commit is contained in:
@@ -326,8 +326,16 @@ impl<Components: components::Components> Service<Components> {
|
||||
properties: config.chain_spec.properties(),
|
||||
};
|
||||
let rpc = Components::RuntimeServices::start_rpc(
|
||||
client.clone(), network.clone(), has_bootnodes, system_info, config.rpc_http,
|
||||
config.rpc_ws, config.rpc_cors.clone(), task_executor.clone(), transaction_pool.clone(),
|
||||
client.clone(),
|
||||
network.clone(),
|
||||
has_bootnodes,
|
||||
system_info,
|
||||
config.rpc_http,
|
||||
config.rpc_ws,
|
||||
config.rpc_ws_max_connections,
|
||||
config.rpc_cors.clone(),
|
||||
task_executor.clone(),
|
||||
transaction_pool.clone(),
|
||||
)?;
|
||||
|
||||
let telemetry_connection_sinks: Arc<Mutex<Vec<mpsc::UnboundedSender<()>>>> = Default::default();
|
||||
|
||||
Reference in New Issue
Block a user