Problem/Motivation
I've got fairly simple setup in that I have some smartqueues based on a large-ish taxonomy.
When editing the taxonomy to re-order the terms we see incredibly high memory usage and timeouts.
Steps to reproduce
In the above setup, re-order some terms using the Drupal admin UI.
Proposed resolution
As far as I can see it's because if a term is updated, then the associated smartqueue is re-saved. This seems kinda wasteful. It sort of looks like the code is only trying to update the label.
I suppose that there could be other code that is triggering off of this update, so it's possible that we should:
* Stop the save
* Introduce another event
* Bump the API version.
Remaining tasks
Do all the above.
User interface changes
None.
API changes
We'd remove an entity update, and add a new event to cover this.
Data model changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | entityqueue-3343208-slow-entity-updates.patch | 718 bytes | steven jones |
Issue fork entityqueue-3343208
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
steven jones commentedHere's a patch for point 1, it doesn't add the new event.
Comment #6
amateescu commentedMerged a fix inspired by your patch, thanks!