Skip to content

Eviction: Normalize polling time, fix RequeueAfter<=0#156

Merged
fwiesel merged 1 commit into
mainfrom
normalize_times
Oct 20, 2025
Merged

Eviction: Normalize polling time, fix RequeueAfter<=0#156
fwiesel merged 1 commit into
mainfrom
normalize_times

Conversation

@fwiesel

@fwiesel fwiesel commented Oct 20, 2025

Copy link
Copy Markdown
Contributor

RequeueAfter: 0 is not supported, Requeue: true is deprecated, so normalize on some default times.

@fwiesel fwiesel requested a review from notandy October 20, 2025 13:47
`RequeueAfter: 0` is not supported, `Requeue: true` is deprecated, so
normalize on some default times.

@notandy notandy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you provide your source that RequeueAfter: 0 is not supported? I thought I've seen it

@fwiesel

fwiesel commented Oct 20, 2025

Copy link
Copy Markdown
Contributor Author

Sure, here is the relevant code. It isn't so surprising, when you consider that reconcile.Result{RequeueAfter: 0} is the same as reconcile.Result{}.

@fwiesel fwiesel merged commit a96e58c into main Oct 20, 2025
6 checks passed
@fwiesel fwiesel deleted the normalize_times branch October 20, 2025 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants