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.
Coffee module's hook_flush_caches is implemented so that cache_coffee table is flushed thousand of times per cache clear.
This will cause cache clearing to slow down and also caused a deadlock to mysql cache_coffee table.
Comment | File | Size | Author |
---|---|---|---|
#1 | cache_cleared_thousand_times-2399981-1.patch | 1.13 KB | attekilpela |
Comments
Comment #1
attekilpela CreditAttribution: attekilpela commentedI have created a patch to fix this issue.
It's copied from admin_menu module which has been used for the original cache flush implementation as well.
Comment #2
attekilpela CreditAttribution: attekilpela commentedComment #3
attekilpela CreditAttribution: attekilpela commentedComment #4
michaelmol CreditAttribution: michaelmol commentedWe had an issue about a mysql deadlock before, now I can imagine what the reason was.
I have committed the patch, thanks.