-
Notifications
You must be signed in to change notification settings - Fork 41
Remove WP CronInterval rule #831
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
base: develop
Are you sure you want to change the base?
Conversation
@davidsword Without giving an opinion on this PR, could you please rebase this PR on the current |
Rather than remove the rule, could we make it 60s instead of 900s? |
10afe5c
to
ff6d85b
Compare
VIP's cron setup https://wpvip.com/blog/wordpress-cron/ https://docs.wpvip.com/wordpress-on-vip/cron-control/ Can handle frequent heavy cron schedules. Increase job frequency does not equate to slower site performance as the jobs are run async on dedicated batch containers, not front end requests.
ff6d85b
to
231ea65
Compare
Pulled against |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good ✔️
The only thing I'm wondering about is VIP-Go vs VIPMinimum.
I've just checked and the VIPMinimum ruleset includes the sniff as well and explicitly sets it to 15 minutes.
VIP-Coding-Standards/WordPressVIPMinimum/ruleset.xml
Lines 46 to 51 in ac9c5fc
<rule ref="WordPress.WP.CronInterval"> | |
<properties> | |
<!-- Set to 900 (15 minutes), which is the requirement for the VIP platform. --> | |
<property name="min_interval" value="900"/> | |
</properties> | |
</rule> |
Is that still correct ?
Yes - we've not made a start on consolidating these, so while it's not quite aligned with the ultimate end goal, it is aligned with other rules that currently exist in the initial standard. |
VIP's cron setup
https://wpvip.com/blog/wordpress-cron/
https://docs.wpvip.com/wordpress-on-vip/cron-control/
can handle frequent heavy cron schedules. On VIP increased job frequency does not equate to slower site performance as the jobs are run async on dedicated batch containers, not front end requests.