Skip to content

improve: add setMaxInterval(Duration) for GenericRetry#3297

Merged
csviri merged 1 commit intooperator-framework:mainfrom
csviri:retry-api
Apr 16, 2026
Merged

improve: add setMaxInterval(Duration) for GenericRetry#3297
csviri merged 1 commit intooperator-framework:mainfrom
csviri:retry-api

Conversation

@csviri
Copy link
Copy Markdown
Collaborator

@csviri csviri commented Apr 16, 2026

Signed-off-by: Attila Mészáros a_meszaros@apple.com

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Copilot AI review requested due to automatic review settings April 16, 2026 08:10
@openshift-ci openshift-ci bot requested review from metacosm and xstefank April 16, 2026 08:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a Duration-based overload for configuring GenericRetry’s maximum retry interval, aligning the API with the existing Duration overload for initialInterval and improving call-site ergonomics.

Changes:

  • Add GenericRetry#setMaxInterval(Duration) delegating to the existing millisecond-based setter.

@csviri csviri merged commit 14eb36f into operator-framework:main Apr 16, 2026
31 checks passed
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.

3 participants