mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +00:00
collator-protocol: short-term fixes for connectivity (#4640)
* collator-protocol: add to reserved peers on every relay parent * bump collator slots from 25 to 100 * collator-protocol: reduce inactivity timeout from 24s to 5s * try to satisfy spellcheck * add connection log * fmt * bring a warn back * gather validators across all active leaves
This commit is contained in:
@@ -75,7 +75,7 @@ impl PeerSet {
|
||||
max_notification_size,
|
||||
set_config: SetConfig {
|
||||
// Non-authority nodes don't need to accept incoming connections on this peer set:
|
||||
in_peers: if is_authority == IsAuthority::Yes { 25 } else { 0 },
|
||||
in_peers: if is_authority == IsAuthority::Yes { 100 } else { 0 },
|
||||
out_peers: 0,
|
||||
reserved_nodes: Vec::new(),
|
||||
non_reserved_mode: if is_authority == IsAuthority::Yes {
|
||||
|
||||
Reference in New Issue
Block a user