mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-23 10:59:55 +00:00
Add explicit limits to notifications sizes and adjust yamux buffer size (#7925)
* Add explicit limits to notifications sizes and adjust yamux buffer size * Docfix * Tests * Document these 10 bytes
This commit is contained in:
1 parent
bb46f8ac30
commit
8e04515912
12 files changed
+125
-51
No files matched your search
@@ -144,6 +144,7 @@ fn build_nodes_one_proto()
|
||||
extra_sets: vec![
|
||||
config::NonDefaultSetConfig {
|
||||
notifications_protocol: PROTOCOL_NAME,
|
||||
max_notification_size: 1024 * 1024,
|
||||
set_config: Default::default()
|
||||
}
|
||||
],
|
||||
@@ -157,6 +158,7 @@ fn build_nodes_one_proto()
|
||||
extra_sets: vec![
|
||||
config::NonDefaultSetConfig {
|
||||
notifications_protocol: PROTOCOL_NAME,
|
||||
max_notification_size: 1024 * 1024,
|
||||
set_config: config::SetConfig {
|
||||
reserved_nodes: vec![config::MultiaddrWithPeerId {
|
||||
multiaddr: listen_addr,
|
||||
|
||||
Reference in new issue
Block a user