Issue #3248544: Build in some buffer time when validating cron frequency based on last run time
Merged
requested to merge issue/automatic_updates-3248544:3248544-check-is-cron-running into 8.x-2.x
Compare changes
Files
3@@ -8,6 +8,7 @@ use Drupal\automatic_updates\CronUpdater;
@@ -8,6 +8,7 @@ use Drupal\automatic_updates\CronUpdater;
@@ -89,6 +90,13 @@ class CronFrequencyValidator implements EventSubscriberInterface {
@@ -89,6 +90,13 @@ class CronFrequencyValidator implements EventSubscriberInterface {
@@ -104,14 +112,17 @@ class CronFrequencyValidator implements EventSubscriberInterface {
@@ -104,14 +112,17 @@ class CronFrequencyValidator implements EventSubscriberInterface {
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, StateInterface $state, TimeInterface $time, TranslationInterface $translation, CronUpdater $cron_updater) {
@@ -167,15 +178,14 @@ class CronFrequencyValidator implements EventSubscriberInterface {
@@ -167,15 +178,14 @@ class CronFrequencyValidator implements EventSubscriberInterface {
$this->t('Cron has not run recently. For more information, see the online handbook entry for <a href=":cron-handbook">configuring cron jobs</a> to run at least every @frequency hours.', [