Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
reading through this #512962: Optimize menu_router_build() / _menu_router_save(), it struck me that's a good candidate for a transaction. discussed with catch and pwolanin in #drupal, they agreed, so here is a patch.
Comment | File | Size | Author |
---|---|---|---|
#1 | menu_transaction.patch | 845 bytes | Anonymous (not verified) |
menu_transaction.patch | 1020 bytes | Anonymous (not verified) | |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedupdated, don't wrap the cache clearing in a transaction.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commenteda transaction for menu_rebuild() is also being worked on here: #281405: Drupal 7.x can't be installed with memory_limit=32M.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commented