[wp-trac] [WordPress Trac] #35208: Timeouts updating terms related to large amount of objects
WordPress Trac
noreply at wordpress.org
Wed Dec 23 12:33:41 UTC 2015
#35208: Timeouts updating terms related to large amount of objects
-----------------------------------------+-----------------------------
Reporter: mwidmann | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 3.9
Severity: normal | Keywords:
Focuses: administration, performance |
-----------------------------------------+-----------------------------
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
[https://core.trac.wordpress.org/attachment/ticket/28743/taxonomy.php.patch
patch] that should solve this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35208>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list