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

Skip object reindexing when global auditlog is disabled #2357

Merged
merged 3 commits into from
Aug 10, 2023
Merged

Conversation

ramonski
Copy link
Contributor

Description of the issue/feature this PR addresses

This PR improves (a little bit) the performance when objects are modified or transitioned.

Current behavior before PR

Objects are reindexed in the global auditlog catalog no matter if enabled/disabled in catalog.

Desired behavior after PR is merged

No reindexing is performed if the global auditlog option is disabled in the setup.

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

@xispa xispa merged commit 44a98ec into 2.x Aug 10, 2023
@xispa xispa deleted the auditlog-reindexing branch August 10, 2023 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants