-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Allow configuration of informer pagination through list limit (… #1977
Conversation
* The maximum amount of items to return for a single list call when starting an informer. If this | ||
* is a not null it will result in paginating for the initial load of the informer cache. | ||
*/ | ||
default Long getInformerLimit() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking if we could not find a more specific name. Like getInformerListLimit
? What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated with your naming selection and added a link to the underlying method that ends up getting since the javadoc there has more info.
* The maximum amount of items to return for a single list call when starting an informer. If this | ||
* is a not null it will result in paginating for the initial load of the informer cache. | ||
*/ | ||
default Long getInformerLimit() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make this Optional? Also take it into account if not set?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you @Bijnagte
…#1976).