diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-02-08 09:28:32 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-02-08 09:37:18 +0100 |
commit | f69289d1a076ac85fb50ee722b7581514e13dcf2 (patch) | |
tree | 6797331092fea3b193b586421770b65e5a01e96b /src/orchestrator/orchestrator.rs | |
parent | 32a2a808188ab06032932befc17d4711492ff8d1 (diff) |
Remove code that didnt do anything either way
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/orchestrator/orchestrator.rs')
-rw-r--r-- | src/orchestrator/orchestrator.rs | 14 |
1 files changed, 0 insertions, 14 deletions
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<Artifact>)> // to |