Opened 9 years ago
Closed 9 years ago
#35208 closed defect (bug) (fixed)
Timeouts updating terms related to large amount of objects
Reported by: | mwidmann | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 4.5 | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | Taxonomy | Keywords: | has-patch |
Focuses: | performance | Cc: |
Description
In relation to #28743
Having a term with a large number of objects related to it causes a call to clean_object_term_cache()
when it's update. Especially when an object-cache is used this can lead to a huge number of network calls, various timeouts and overhead.
This could be avoided if clean_object_term_cache()
obeyed to $_wp_suspend_cache_invalidation
.
I've attached a patch that should solve this.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Thanks for the patch!