From 422c2137e9a343c9e3cf35bc4b43d24e692a3c10 Mon Sep 17 00:00:00 2001 From: Miles Johnson Date: Fri, 26 Jan 2024 16:41:58 -0800 Subject: [PATCH] fix: Remove concurrency limit from persistent tasks. (#1293) Remove. --- crates/core/action-pipeline/src/pipeline.rs | 6 ------ packages/cli/CHANGELOG.md | 4 ++++ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/crates/core/action-pipeline/src/pipeline.rs b/crates/core/action-pipeline/src/pipeline.rs index 3ca30fba142..20b79cf73d3 100644 --- a/crates/core/action-pipeline/src/pipeline.rs +++ b/crates/core/action-pipeline/src/pipeline.rs @@ -229,10 +229,6 @@ impl Pipeline { let mut action = Action::new(node.to_owned()); action.node_index = node_index.index(); - let Ok(permit) = semaphore.clone().acquire_owned().await else { - continue; // Should error? - }; - action_handles.push(tokio::spawn(async move { let result = tokio::select! { biased; @@ -253,8 +249,6 @@ impl Pipeline { let _ = sender.send(action.node_index); } - drop(permit); - result })); } diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 0806f253e62..2947cb041c3 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -12,6 +12,10 @@ ## Unreleased +#### 🚀 Updates + +- Removed the maximum concurrency limit from persistent tasks. + #### 🐞 Fixes - Fixed `moon docker scaffold` not copying the project specific `moon.yml` file, resulting in a