Skip to content

Commit

Permalink
fix: Remove concurrency limit from persistent tasks. (#1293)
Browse files Browse the repository at this point in the history
Remove.
  • Loading branch information
milesj authored Jan 27, 2024
1 parent b5067e2 commit 422c213
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 0 additions & 6 deletions crates/core/action-pipeline/src/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -253,8 +249,6 @@ impl Pipeline {
let _ = sender.send(action.node_index);
}

drop(permit);

result
}));
}
Expand Down
4 changes: 4 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 422c213

Please sign in to comment.