Skip to content

Large record deletion timeout fix, fixes #699#702

Open
Kat-Alo wants to merge 3 commits intothemarshallproject:mainfrom
washingtonpost:napps-2280-contribute-deletion-timeout-fix
Open

Large record deletion timeout fix, fixes #699#702
Kat-Alo wants to merge 3 commits intothemarshallproject:mainfrom
washingtonpost:napps-2280-contribute-deletion-timeout-fix

Conversation

@Kat-Alo
Copy link

@Kat-Alo Kat-Alo commented Oct 10, 2023

Adds a gem that allows for a faster deletion of child records (page snapshots) when deleting a parent record (page). This problem was leading to timeouts when trying to delete pages that had many snapshots, and the makers of the gem seem to capture the problem well in this post.

This change does cause one test to fail (deletes associated snapshots and changes upon deletion), but given that RoR is not my forte, I left the test unchanged.

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.

1 participant