Opened 11 years ago
Closed 11 years ago
#35208 closed defect (bug) (fixed)
Timeouts updating terms related to large amount of objects
| Reported by: | mwidmann | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.5 |
| Component: | Taxonomy | Version: | 3.9 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | performance |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks for the patch!