// Test for the existence of the lateruntime processor, which runs on every
// request. This provides a prime and hyperfast clearing experience, so that
// no clients will notice any "content stuck in time" as there's no waiting
// time. Added bonus is, that the lateruntime processor CAN be resource
// intensive and therefore disruptive, so if this works without issues for
// most client participates, we'll likely require it by default and by doing
// so, create a really smooth experience.
if (!$this->purgeProcessors->get('lateruntime')) {
$this->recommendation = $this->t("Beta testers must enable the late runtime processor.");
return SELF::SEVERITY_ERROR;
}
IMO, this is too much babysitting. The developer is forced to skip the whole benefit of queueing and invalidate tags inline with a page request. WHat about good developers who want page responses to be as simple and fast as possible. I suggest removing this check, or at least downgrading to warning.
Comments
Comment #2
moshe weitzman commentedThis patch removes the check.
Comment #3
moshe weitzman commentedI'll note that sites still get this processor enabled by default so most sites will use it. I just dont want to be forced .
Comment #4
moshe weitzman commentedI actually think the cron requirement is too much as well. I'd like to schedule p-invalidate-work to run separately from my general cron job. But that can be a separate issue.
Comment #5
josh waihi commentedAgree with this. Its time to remove the beta checks and let people make their own decisions.
Comment #6
nielsvm commentedThis got included in the recent release and is no longer a hard requirement:
https://www.drupal.org/project/acquia_purge/releases/8.x-1.0