Skip to content

Commit

Permalink
fix: Fix tide requeue after duration, and add a TODO for it
Browse files Browse the repository at this point in the history
  • Loading branch information
LuBingtan committed Feb 23, 2023
1 parent b6f9965 commit 230fe53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/plugins/internal/tide.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ func (c *tideController) syncOnce(ctx context.Context, key tidePRKey) (tideResul
// Requeue the pr if not merged
if !merged {
requeue = true
after = 30 * time.Second
// TODO: We should use a value from configuration or argument rather than hard code
after = 30 * time.Minute
}
}
return tideResult{Requeue: requeue, RequeueAfter: after}, nil
Expand Down

0 comments on commit 230fe53

Please sign in to comment.