Peter Wilson
a56256d158
Site Health Check: Increase time allowance for cron checks.
...
Introduces `WP_Site_Health::has_late_cron()` for late wp-cron jobs and extends the time allowance before a job is considered missed.
In a standard configuration using loopback requests, a job is considered late once past due and missed over five minutes past due.
Late and missed time frames are extended if `DISABLE_WP_CRON` is defined as `true` to allow for crontab tasks running less frequently. A job is considered late once it's 15 minutes past due and missed over one hour past due.
A file for site health unit tests has been introduced with tests for cron in critical, late and missed states.
Props rockfire, afragen, peterwilsoncc.
Fixes #47223 .
Built from https://develop.svn.wordpress.org/trunk@45801
git-svn-id: http://core.svn.wordpress.org/trunk@45612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-08-15 00:35:55 +00:00
..
2019-08-07 00:04:56 +00:00
2019-02-25 15:21:52 +00:00
2019-08-15 00:35:55 +00:00
2019-08-14 02:02:56 +00:00
2019-07-25 19:11:55 +00:00
2019-08-04 01:12:56 +00:00
2017-11-30 23:11:00 +00:00
2019-07-25 22:52:56 +00:00
2019-07-17 01:11:56 +00:00
2019-07-05 01:45:56 +00:00
2017-11-30 23:11:00 +00:00
2019-08-04 02:03:55 +00:00
2019-01-16 05:41:50 +00:00
2019-07-16 13:15:58 +00:00
2019-07-01 12:52:01 +00:00
2019-07-25 22:45:57 +00:00
2019-07-19 00:09:58 +00:00
2019-07-19 04:02:55 +00:00
2019-07-17 06:17:56 +00:00
2019-07-09 05:45:58 +00:00
2019-07-25 22:45:57 +00:00
2019-08-04 12:28:56 +00:00
2019-08-04 12:28:56 +00:00
2019-05-25 15:19:53 +00:00
2019-04-08 22:59:56 +00:00
2019-07-25 22:45:57 +00:00
2019-07-26 17:46:56 +00:00
2019-08-07 11:40:55 +00:00
2019-06-08 00:30:51 +00:00
2019-06-08 00:30:51 +00:00
2019-08-04 01:46:55 +00:00
2019-07-19 00:09:58 +00:00
2019-07-25 22:45:57 +00:00
2019-07-25 22:45:57 +00:00
2017-11-30 23:11:00 +00:00
2019-08-08 12:54:56 +00:00
2017-11-30 23:11:00 +00:00
2019-07-05 05:21:56 +00:00
2019-07-01 08:01:57 +00:00
2019-07-01 12:52:01 +00:00
2019-08-03 22:17:57 +00:00
2019-08-03 22:17:57 +00:00
2019-07-25 22:45:57 +00:00
2019-07-09 05:45:58 +00:00
2019-07-25 22:45:57 +00:00
2019-07-01 12:52:01 +00:00
2019-06-10 07:42:52 +00:00
2017-11-30 23:11:00 +00:00
2013-09-25 00:18:11 +00:00
2019-05-23 22:15:54 +00:00
2013-09-25 00:18:11 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2017-11-30 23:11:00 +00:00
2019-04-08 22:59:56 +00:00
2019-07-25 22:45:57 +00:00
2019-07-25 22:45:57 +00:00
2019-07-25 22:45:57 +00:00
2019-08-07 00:04:56 +00:00
2017-11-30 23:11:00 +00:00
2019-07-25 22:45:57 +00:00
2019-07-25 22:52:56 +00:00
2019-05-27 02:40:53 +00:00
2019-08-07 23:03:54 +00:00
2019-07-25 22:45:57 +00:00
2019-08-04 13:03:55 +00:00
2019-07-25 22:45:57 +00:00
2019-07-25 22:45:57 +00:00
2019-07-25 22:45:57 +00:00
2019-08-04 12:28:56 +00:00
2019-08-04 12:28:56 +00:00
2018-08-17 01:51:36 +00:00
2019-07-05 05:21:56 +00:00
2019-07-19 00:09:58 +00:00
2017-11-30 23:11:00 +00:00
2019-07-25 22:45:57 +00:00
2019-08-04 01:46:55 +00:00
2019-08-13 23:35:56 +00:00
2019-06-10 07:42:52 +00:00
2018-02-19 02:13:32 +00:00
2019-07-25 22:45:57 +00:00
2019-07-25 22:45:57 +00:00
2019-07-25 22:45:57 +00:00
2019-07-25 22:45:57 +00:00
2019-08-04 01:12:56 +00:00
2019-07-09 05:45:58 +00:00
2017-11-30 23:11:00 +00:00
2019-07-14 14:39:57 +00:00
2019-07-25 22:45:57 +00:00
2019-07-28 17:42:55 +00:00
2019-07-25 22:45:57 +00:00
2019-07-25 22:45:57 +00:00
2019-07-25 22:45:57 +00:00