Problem/Motivation

Purging 1,000 records in a row can take a long time and runs the risk of hitting out-of-memory errors.

Proposed resolution

Change the process to run 100 records at a time instead of 1,000.
Provide an option to

Remaining tasks

Provide a patch.

User interface changes

100 records would be purged at once, instead of 1,000.

API changes

n/a

Data model changes

n/a

Comments

DamienMcKenna created an issue. See original summary.

damienmckenna’s picture

Title: Purge orphans in groups of 100, not 1000 » Add option to control how many record purged at once; default to 100
Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new3.32 KB

This adds a "limit" option to control how many records are purge at once, and defaults to 100.

damienmckenna’s picture

StatusFileSize
new2.33 KB

#2 included a bit from another issue, this is the correct change.

ayalon’s picture

Thanks for the contribution!

ayalon’s picture

Status: Needs review » Fixed
Issue tags: +Barcelona2024

  • ayalon committed 0c884447 on 1.0.x
    Issue #3418635 by damienmckenna, ayalon: Add option to control how many...
ayalon’s picture

Status: Fixed » Closed (fixed)