Update orchestra to the recent version (#6854)

* Test the recent orchestra changes

* Update orchestra and metered-channel
This commit is contained in:
Vsevolod Stakhov
2023-03-14 09:29:57 +00:00
committed by GitHub
parent 894dcad54b
commit 5565bb9dbc
8 changed files with 21 additions and 21 deletions
+3 -2
View File
@@ -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!(
+1
View File
@@ -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);