mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-11 03:27:23 +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:
@@ -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