mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 00:31:07 +00:00
expose setting kademlia replication factor through node CLI (#14391)
* expose kademlia replication factor through node CLI * set default CLI flag value for kademlia_replication_factor Co-authored-by: Bastian Köcher <git@kchr.de> * wrap CLI value as Option * make kademlia replication factor non-optional --------- Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
@@ -320,6 +320,7 @@ where
|
||||
config.use_kademlia_disjoint_query_paths(
|
||||
network_config.kademlia_disjoint_query_paths,
|
||||
);
|
||||
config.with_kademlia_replication_factor(network_config.kademlia_replication_factor);
|
||||
|
||||
match network_config.transport {
|
||||
TransportConfig::MemoryOnly => {
|
||||
|
||||
Reference in New Issue
Block a user