-
Notifications
You must be signed in to change notification settings - Fork 877
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When indexable creation is disabled, cleanups are being scheduled upon post creation #21404
Comments
The solution will be:
|
Merged
18 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the
Yoast\WP\SEO\should_index_indexables
filter is enabled and returning false, or we're on a non-production site, we don't create indexables. This has a side-effect:The cleanups, when triggered, will actually do nothing and unschedule themselves (because of that filter, or because we're on a non-production site), so it has minimal impact on the performance of the websites, but still it's a thing to be fixed, because we're scheduling cron jobs needlessly with every post creation/update.UPDATE: The cleanups actions actually do run their cleanup queries, so it's something with more severity than initially reported.The text was updated successfully, but these errors were encountered: