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:
Andronik
2022-01-04 12:58:47 +01:00
committed by GitHub
parent 83c8afcbb9
commit aff88a864a
4 changed files with 158 additions and 127 deletions
@@ -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 {