From f69289d1a076ac85fb50ee722b7581514e13dcf2 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 8 Feb 2021 09:28:32 +0100 Subject: Remove code that didnt do anything either way Signed-off-by: Matthias Beyer --- src/orchestrator/orchestrator.rs | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/orchestrator/orchestrator.rs') diff --git a/src/orchestrator/orchestrator.rs b/src/orchestrator/orchestrator.rs index 4d47ddb..b5d1609 100644 --- a/src/orchestrator/orchestrator.rs +++ b/src/orchestrator/orchestrator.rs @@ -479,20 +479,6 @@ impl<'a> JobTask<'a> { } } - // receive items until the channel is empty. - // - // In the above loop, it could happen that we have all dependencies to run, but there is - // another job that reports artifacts. - // We need to collect them, too. - // - // This is techically not possible, because in a tree, we need all results from all childs. - // It just feels better having this in place as well. - // - // Sorry, not sorry. - while self.perform_receive(&mut received_dependencies, &mut received_errors).await? { - ; - } - // Map the list of received dependencies from // Vec<(Uuid, Vec)> // to -- cgit v1.2.3