Skip to content

Commit

Permalink
updated system retries array max value (flyteorg#284)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Rammer <[email protected]>

Signed-off-by: Daniel Rammer <[email protected]>
  • Loading branch information
hamersaw authored Sep 6, 2022
1 parent e863c76 commit 4f13b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/tasks/plugins/array/k8s/management.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func LaunchAndCheckSubTasksState(ctx context.Context, tCtx core.TaskExecutionCon
// interruptible subtasks.
if len(currentState.SystemFailures.GetItems()) == 0 {
count := uint(currentState.GetExecutionArraySize())
maxValue := bitarray.Item(tCtx.TaskExecutionMetadata().GetInterruptibleFailureThreshold())
maxValue := bitarray.Item(tCtx.TaskExecutionMetadata().GetMaxAttempts())

systemFailuresArray, err := bitarray.NewCompactArray(count, maxValue)
if err != nil {
Expand Down

0 comments on commit 4f13b4b

Please sign in to comment.