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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | migrate_orphans-n3418635-3.patch | 2.33 KB | damienmckenna |
Comments
Comment #2
damienmckennaThis adds a "limit" option to control how many records are purge at once, and defaults to 100.
Comment #3
damienmckenna#2 included a bit from another issue, this is the correct change.
Comment #4
ayalon commentedThanks for the contribution!
Comment #5
ayalon commentedComment #7
ayalon commented