- Issue created by @mrweiner
- πΊπΈUnited States mrweiner
I'm trying to decide whether we need to roll our own solution to this, or if we can contribute a patch here. Will post an update if I have one.
- πΊπΈUnited States mrweiner
It turns out that revisions were on for our entity, but we never actually used them. As such we have no revisions to actually clean up and don't need this module. That said, I still think this would be a good approach to optimizing the performance if anybody is interested in tackling that.
- π¨πSwitzerland berdir Switzerland
Just a drive-by note while reviewing similar modules.
node_revision_delete 2.x kind of works like that, it puts entities in the queue, not revisions. And there are multiple plugins to then decide which revisions to delete. And it only puts entities in the queue as they are saved, not on cron. So it scales quite nicely. One downside is that age-based logic only works if an entity is saved again. so if you keep 50 revisions for at least 2 months, if there are 100 revisions within a short time and then the entity isn't updated anymore it is not cleaned up ever (except if you do a full queue processing through the UI, but has the same limitations currently that it loads all ids at once, there should be no need for that).