Max notification size -> 100k. (#2735)

This commit is contained in:
Robert Klotzner
2021-04-12 10:26:11 +02:00
committed by GitHub
parent 359ade2b89
commit dd3733261b
@@ -48,9 +48,7 @@ impl PeerSet {
/// network service.
pub fn get_info(self, is_authority: IsAuthority) -> NonDefaultSetConfig {
let protocol = self.into_protocol_name();
// TODO: lower this limit after https://github.com/paritytech/polkadot/issues/2283 is
// done and collations use request-response protocols
let max_notification_size = 16 * 1024 * 1024;
let max_notification_size = 100 * 1024;
match self {
PeerSet::Validation => NonDefaultSetConfig {