[wp-trac] [WordPress Trac] #47223: Site Health Check: "last missed cron" test too aggressive

WordPress Trac noreply at wordpress.org
Fri Jul 5 13:15:26 UTC 2019


#47223: Site Health Check: "last missed cron" test too aggressive
-------------------------------------------------+-------------------------
 Reporter:  DavidAnderson                        |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Site Health                          |     Version:  5.2
 Severity:  normal                               |  Resolution:
 Keywords:  site-health needs-testing has-patch  |     Focuses:
-------------------------------------------------+-------------------------
Changes (by rockfire):

 * keywords:  site-health needs-patch needs-testing => site-health needs-
     testing has-patch


Comment:

 @peterwilsoncc I have fixed the backwards compatibility break, by
 introducing a new function `has_late_cron` as @Clorith suggested.

 @jetxpert Yes this will fix it, when you disable WP_CRON a 'late' message
 will only appear if the cron is more than 15 minutes late (with WP_CRON
 enabled, it displays the 'late' message when the cron is even 1 second
 late). And a 'failed' message will be displayed if the cron is more than 1
 hour late (with WP_CRON enabled that is after 5 minutes).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47223#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list