Skip to content
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

Filter to set cron limit #13

Closed
stevegrunwell opened this issue Aug 10, 2015 · 0 comments
Closed

Filter to set cron limit #13

stevegrunwell opened this issue Aug 10, 2015 · 0 comments

Comments

@stevegrunwell
Copy link
Owner

Right now the WP Cron event is always clearing out a maximum of 50 post revisions. On larger sites that produce more than 50 posts a day, the percentage of revisions will never decrease, necessitating manual runs of strike().

Either a filter or setting should be introduced to allow this number to be raised. To mitigate performance concerns of running queries for 1000+ revision IDs at a time, perhaps the strike() method should also be rewritten to chunk IDs.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant