Skip to content

Add possiblity to add the scroll batch size to reactive code #2061

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

Closed
sothawo opened this issue Jan 15, 2022 · 1 comment · Fixed by #2392
Closed

Add possiblity to add the scroll batch size to reactive code #2061

sothawo opened this issue Jan 15, 2022 · 1 comment · Fixed by #2392
Assignees
Labels
type: enhancement A general enhancement

Comments

@sothawo
Copy link
Collaborator

sothawo commented Jan 15, 2022

Currently there is no possibility to set the size of the single requests that are sent to the cluster when scrolling through all records (see #2023), the current code always uses the max number of 10.000.

It should be possible to set this for a single query or as global value in the configuration.

Imperative code does not have this problem, here the page size is used as there is a dedicated scroll method. Reactive code automatically switches to scroll from normal find when there is no page size or limit set.

@sothawo sothawo added the type: enhancement A general enhancement label Jan 15, 2022
@sothawo sothawo self-assigned this Dec 6, 2022
@sothawo
Copy link
Collaborator Author

sothawo commented Dec 6, 2022

Not adding it as a global configuration value, because every query and entity is different in size, so a global value does not make sense. Default value will be set to 500.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant