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
@@ -58,7 +58,7 @@ pub struct CollatorEvictionPolicy {
impl Default for CollatorEvictionPolicy {
fn default() -> Self {
CollatorEvictionPolicy {
inactive_collator: Duration::from_secs(24),
inactive_collator: Duration::from_secs(5),
undeclared: Duration::from_secs(1),
}
}