This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
4 changed files
with
158 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
This is maybe a bug - collators immediately connect to validators but the validators still preserve the behavior of disconnecting collators that haven't declared within 1 second. If collators take more than 1 second to produce the collation they might be disconnected and then I don't know if they'd be allowed to reconnect for some time. (cc @bkchr @tomaka, comment on this behavior would be appreciated)
5b74841#diff-985c430ba94b2766888bf35f9e12cff2c5968204ead3a431e6b58430e5d5b71aR62