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

Properly paginate on flow logs #18652

Merged

Conversation

rijkvanzanten
Copy link
Member

@rijkvanzanten rijkvanzanten commented May 18, 2023

Reduces the number of revisions loaded per page, and adds pagination support to the flow logs to prevent large sets of revisions to cause memory allocation issues.

Fixes ENG-881

@rijkvanzanten rijkvanzanten requested review from a team, paescuj, licitdev and azrikahar and removed request for a team May 18, 2023 18:47
@changeset-bot
Copy link

changeset-bot bot commented May 18, 2023

🦋 Changeset detected

Latest commit: f3fb1da

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@directus/app Patch
@directus/api Patch
directus Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@azrikahar azrikahar left a comment

Choose a reason for hiding this comment

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

LGTM!

app/src/composables/use-revisions.ts Outdated Show resolved Hide resolved
rijkvanzanten and others added 2 commits May 19, 2023 09:55
Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Copy link
Member

@paescuj paescuj left a comment

Choose a reason for hiding this comment

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

LGTM as well ❤️

@rijkvanzanten rijkvanzanten merged commit 4c45f96 into main May 19, 2023
1 check passed
@rijkvanzanten rijkvanzanten deleted the rijk/eng-881-crash-when-too-much-revision-data-linked branch May 19, 2023 14:09
@rijkvanzanten rijkvanzanten added this to the Next Release milestone May 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants