mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 02:51:08 +00:00
Update orchestra to the recent version (#6854)
* Test the recent orchestra changes * Update orchestra and metered-channel
This commit is contained in:
@@ -17,7 +17,7 @@ futures-timer = "3.0.2"
|
||||
gum = { package = "tracing-gum", path = "../../gum" }
|
||||
pin-project = "1.0.9"
|
||||
rand = "0.8.5"
|
||||
rayon = "1.5.1"
|
||||
rayon = "1.6.1"
|
||||
slotmap = "1.0"
|
||||
tempfile = "3.3.0"
|
||||
tikv-jemalloc-ctl = { version = "0.5.0", optional = true }
|
||||
|
||||
@@ -10,7 +10,7 @@ futures = "0.3.21"
|
||||
futures-timer = "3.0.2"
|
||||
gum = { package = "tracing-gum", path = "../gum" }
|
||||
|
||||
metered = { package = "prioritized-metered-channel", version = "0.2.0" }
|
||||
metered = { package = "prioritized-metered-channel", version = "0.4.0" }
|
||||
|
||||
# Both `sc-service` and `sc-cli` are required by runtime metrics `logger_hook()`.
|
||||
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
|
||||
@@ -15,7 +15,7 @@ polkadot-node-primitives = { path = "../primitives" }
|
||||
polkadot-node-subsystem-types = { path = "../subsystem-types" }
|
||||
polkadot-node-metrics = { path = "../metrics" }
|
||||
polkadot-primitives = { path = "../../primitives" }
|
||||
orchestra = "0.0.4"
|
||||
orchestra = "0.2.0"
|
||||
gum = { package = "tracing-gum", path = "../gum" }
|
||||
lru = "0.9"
|
||||
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
@@ -23,7 +23,7 @@ async-trait = "0.1.57"
|
||||
tikv-jemalloc-ctl = { version = "0.5.0", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
metered = { package = "prioritized-metered-channel", version = "0.2.0" }
|
||||
metered = { package = "prioritized-metered-channel", version = "0.4.0" }
|
||||
|
||||
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
futures = { version = "0.3.21", features = ["thread-pool"] }
|
||||
|
||||
@@ -661,8 +661,9 @@ where
|
||||
);
|
||||
metrics.memory_stats_snapshot(memory_stats_snapshot);
|
||||
},
|
||||
Err(e) =>
|
||||
gum::debug!(target: LOG_TARGET, "Failed to obtain memory stats: {:?}", e),
|
||||
Err(e) => {
|
||||
gum::debug!(target: LOG_TARGET, "Failed to obtain memory stats: {:?}", e)
|
||||
},
|
||||
}),
|
||||
Err(_) => {
|
||||
gum::debug!(
|
||||
|
||||
@@ -1034,6 +1034,7 @@ fn overseer_all_subsystems_receive_signals_and_messages() {
|
||||
|
||||
#[test]
|
||||
fn context_holds_onto_message_until_enough_signals_received() {
|
||||
const CHANNEL_CAPACITY: usize = 1024;
|
||||
let (candidate_validation_bounded_tx, _) = metered::channel(CHANNEL_CAPACITY);
|
||||
let (candidate_backing_bounded_tx, _) = metered::channel(CHANNEL_CAPACITY);
|
||||
let (statement_distribution_bounded_tx, _) = metered::channel(CHANNEL_CAPACITY);
|
||||
|
||||
@@ -13,7 +13,7 @@ polkadot-node-primitives = { path = "../primitives" }
|
||||
polkadot-node-network-protocol = { path = "../network/protocol" }
|
||||
polkadot-statement-table = { path = "../../statement-table" }
|
||||
polkadot-node-jaeger = { path = "../jaeger" }
|
||||
orchestra = "0.0.4"
|
||||
orchestra = "0.2.0"
|
||||
sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
|
||||
@@ -27,7 +27,7 @@ polkadot-node-network-protocol = { path = "../network/protocol" }
|
||||
polkadot-primitives = { path = "../../primitives" }
|
||||
polkadot-node-primitives = { path = "../primitives" }
|
||||
polkadot-overseer = { path = "../overseer" }
|
||||
metered = { package = "prioritized-metered-channel", version = "0.2.0" }
|
||||
metered = { package = "prioritized-metered-channel", version = "0.4.0" }
|
||||
|
||||
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
|
||||
Reference in New Issue
Block a user