mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-22 02:19:55 +00:00
Allow to broadcast network messages in parallel (#1409)
This PR addresses multiple issues pending: * [x] Update orchestra to the recent version and test how the node performs * [x] Add some useful metrics for outbound network bridge * [x] Try to send incoming network requests to all subsystems without blocking on some particular subsystem in that loop * [x] Fix all incompatibilities between orchestra and polkadot code (e.g. malus node)
This commit is contained in:
1 parent
2c8021f998
commit
44dbb73945
15 files changed
+223
-56
No files matched your search
@@ -61,6 +61,7 @@ pub(crate) fn send_message<M>(
|
||||
let message = {
|
||||
let encoded = message.encode();
|
||||
metrics.on_notification_sent(peer_set, version, encoded.len(), peers.len());
|
||||
metrics.on_message(std::any::type_name::<M>());
|
||||
encoded
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user