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:
@@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user