Switch to bounded mpsc for txpool import notification stream (#6640)

* Switch to bounded mpsc for txpool import notification stream

* Update client/transaction-pool/graph/src/validated_pool.rs

Co-authored-by: Nikolay Volf <nikvolf@gmail.com>

Co-authored-by: Nikolay Volf <nikvolf@gmail.com>
This commit is contained in:
Wei Tang
2020-07-17 12:31:47 +02:00
committed by GitHub
parent 85e1f9aa8d
commit 8ae1aa4c28
6 changed files with 30 additions and 11 deletions
+7 -1
View File
@@ -5832,6 +5832,12 @@ dependencies = [
"syn 1.0.33",
]
[[package]]
name = "retain_mut"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e005d658ad26eacc2b6c506dfde519f4e277e328d0eb3379ca61647d70a8f531"
[[package]]
name = "ring"
version = "0.16.12"
@@ -7044,6 +7050,7 @@ dependencies = [
"parity-scale-codec",
"parity-util-mem 0.7.0",
"parking_lot 0.10.2",
"retain_mut",
"serde",
"sp-blockchain",
"sp-core",
@@ -8114,7 +8121,6 @@ dependencies = [
"sp-api",
"sp-blockchain",
"sp-runtime",
"sp-utils",
]
[[package]]