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

Disabling relations on deletion when configured #227

Merged
merged 1 commit into from
Dec 21, 2021

Conversation

markhuot
Copy link
Contributor

This is an extension of this commit, 8504f0d which comes from this issue, #205. The issue that this resolves is that when maxRevisions is set in Craft a save of one entry also triggers a delete of old revisions/elements. That can cause issues on large datasets because the getRelatedElements can be very costly to do during an actual request.

@timkelty timkelty self-requested a review December 21, 2021 16:23
Copy link
Collaborator

@timkelty timkelty left a comment

Choose a reason for hiding this comment

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

@janhenckens this seems like a good fix for people with perf issues on-save.

@janhenckens
Copy link
Member

On it, will review and release tonight.

@janhenckens janhenckens merged commit ce85c50 into studioespresso:master Dec 21, 2021
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.

None yet

3 participants