Skip to content

Commit

Permalink
enabling parallelism controls on arraynode (#5284)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Rammer <[email protected]>
  • Loading branch information
hamersaw authored Apr 24, 2024
1 parent 5c77765 commit 876999c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytepropeller/pkg/controller/nodes/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func IsMaxParallelismAchieved(ctx context.Context, currentNode v1alpha1.Executab
return false
}

if currentNode.GetKind() == v1alpha1.NodeKindTask ||
if currentNode.GetKind() == v1alpha1.NodeKindTask || currentNode.GetKind() == v1alpha1.NodeKindArray ||
(currentNode.GetKind() == v1alpha1.NodeKindWorkflow && currentNode.GetWorkflowNode() != nil && currentNode.GetWorkflowNode().GetLaunchPlanRefID() != nil) {
// If we are queued, let us see if we can proceed within the node parallelism bounds
if execContext.CurrentParallelism() >= maxParallelism {
Expand Down

0 comments on commit 876999c

Please sign in to comment.