[go: nahoru, domu]

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

UGC-5176 Purge comments on QuickTools action #39

Merged
merged 1 commit into from
Feb 16, 2024
Merged

Conversation

emkarcinos
Copy link

Links

Description

In https://github.com/Wikia/unified-platform/pull/16602 A hook interface was added that allows plugging in additional logic that will be performed on a QuickTools revert / delete action.

To mass delete comments we introduced a job that does it asynchronously, as their volume can be potentially quite large, and with every comment deletion (purge) some extra logic has to be performed, potentially involving a couple DB calls.

To let the hook caller know whether any action was performed, before a job is executed, a quick lookup is performed to predetermine whether there's anything to remove.

@emkarcinos emkarcinos force-pushed the UGC-5176 branch 2 times, most recently from e8ece75 to e694963 Compare February 16, 2024 12:41
@emkarcinos emkarcinos merged commit 45612c5 into REL1_39 Feb 16, 2024
1 check passed
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

4 participants