Skip to content
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

PP-6768 Optimise next_link generation #873

Merged
merged 1 commit into from
Aug 5, 2020
Merged

PP-6768 Optimise next_link generation #873

merged 1 commit into from
Aug 5, 2020

Conversation

kbottla
Copy link
Contributor

@kbottla kbottla commented Aug 5, 2020

WHAT

  • When searching with limit_total flag enabled, next_link generated is an increment of current page. Use count to make sure next_page is generated only when there is possibility of more results i.e., when count is same as page_size.

- When searching with `limit_total` flag enabled, next_link generated is an increment of current page.
  Use `count` to make sure `next_page` is generated only when there is possibility of more results i.e., count is same as page_size.
Copy link
Contributor

@SandorArpa SandorArpa left a comment

Choose a reason for hiding this comment

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

LOKTM

@kbottla kbottla merged commit 22deb19 into master Aug 5, 2020
@kbottla kbottla deleted the pp_6768_next_link branch August 5, 2020 12:37
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