metered mpsc channels (#2235)

This commit is contained in:
Bernhard Schuster
2021-01-13 17:40:27 +01:00
committed by GitHub
parent c644c39f3d
commit d7adf8f201
11 changed files with 744 additions and 56 deletions
+11
View File
@@ -3475,6 +3475,15 @@ dependencies = [
"zeroize",
]
[[package]]
name = "metered-channel"
version = "0.1.0"
dependencies = [
"assert_matches",
"futures 0.3.8",
"futures-timer 3.0.2",
]
[[package]]
name = "mick-jaeger"
version = "0.1.4"
@@ -5013,6 +5022,7 @@ dependencies = [
"polkadot-node-network-protocol",
"polkadot-node-subsystem",
"polkadot-node-subsystem-test-helpers",
"polkadot-node-subsystem-util",
"polkadot-primitives",
"sc-authority-discovery",
"sc-network",
@@ -5315,6 +5325,7 @@ dependencies = [
"futures 0.3.8",
"futures-timer 3.0.2",
"log",
"metered-channel",
"parity-scale-codec",
"parking_lot 0.11.1",
"pin-project 1.0.4",