[wp-trac] [WordPress Trac] #63284: _prime_post_caches is getting called unchunked
WordPress Trac
noreply at wordpress.org
Tue Apr 15 20:27:50 UTC 2025
#63284: _prime_post_caches is getting called unchunked
-------------------------------+------------------------------
Reporter: ckeeney | Owner: joemcgill
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.7.2
Severity: major | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by joemcgill):
Replying to [comment:5 tillkruess]:
> @joemcgill: I guess `_prime_post_caches()` is being called with >16,000
IDs. Can we chunk that maybe?
Adding some batching logic is possible, but I first want to see if we can
determine why that many IDs are being passed to `_prime_post_caches()` in
the first place, as that in itself is surprising.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63284#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list