Skip to content

Commit

Permalink
fix: remove timed out step runs from queue
Browse files Browse the repository at this point in the history
  • Loading branch information
abelanger5 committed Aug 7, 2024
1 parent ad83a3d commit 88406ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/repository/prisma/step_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -1109,6 +1109,8 @@ func (s *stepRunEngineRepository) QueueStepRuns(ctx context.Context, tenantId st

if isTimedOut {
timedOutStepRuns = append(timedOutStepRuns, qi.StepRunId)
// mark as queued so that we don't requeue
queuedItems = append(queuedItems, qi.ID)
continue
}

Expand Down

0 comments on commit 88406ad

Please sign in to comment.