mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-30 23:49:49 +00:00
Split peer slots between full and light nodes (#10688)
* Split peer slots between full and light nodes * Rustfmt * Oops, accidentally removed a comma * Remove else
This commit is contained in:
1 parent
fcfc70eaa2
commit
2c3787288a
5 files changed
+48
-6
No files matched your search
@@ -808,8 +808,7 @@ where
|
||||
let (handler, protocol_config) = StateRequestHandler::new(
|
||||
&protocol_id,
|
||||
client.clone(),
|
||||
config.network.default_peers_set.in_peers as usize +
|
||||
config.network.default_peers_set.out_peers as usize,
|
||||
config.network.default_peers_set_num_full as usize,
|
||||
);
|
||||
spawn_handle.spawn("state-request-handler", Some("networking"), handler.run());
|
||||
protocol_config
|
||||
|
||||
Reference in new issue
Block a user