Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
updated system retries array max value (#284)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Rammer <daniel@union.ai>

Signed-off-by: Daniel Rammer <daniel@union.ai>
  • Loading branch information
hamersaw committed 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.