Skip to content

Commit

Permalink
fix: to requeueAfter
Browse files Browse the repository at this point in the history
Signed-off-by: shuangkun <[email protected]>
  • Loading branch information
shuangkun committed Apr 1, 2024
1 parent 354016f commit 033aaaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/controller/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ func (woc *wfOperationCtx) persistUpdates(ctx context.Context) {
}
// If Finalizer exists, requeue to make sure Finalizer can be removed.
if woc.wf.Status.Fulfilled() && len(wf.GetFinalizers()) > 0 {
woc.requeue()
woc.requeueAfter(5 * time.Second)
}

// It is important that we *never* label pods as completed until we successfully updated the workflow
Expand Down

0 comments on commit 033aaaa

Please sign in to comment.