Skip to content

Commit

Permalink
Fix re-rescuing jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
takonomura committed Sep 27, 2023
1 parent 3248887 commit 9796f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/starter/starter.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func (s *Starter) reRunWorkflow(ctx context.Context) {
if value, ok := reQueuedJobs.Load(j.GetID()); ok {
expired := value.(time.Time)
if time.Until(expired) <= 0 {
reQueuedJobs.Delete(run.GetID())
reQueuedJobs.Delete(j.GetID())
}
continue
}
Expand Down

0 comments on commit 9796f4e

Please sign in to comment.