public property PurgePurger::$cooldown_time in Purge 8.3
Time in seconds to wait after invalidation.
The value is expressed as float between 0.0 and 3.0. After ::invalidate() finished, the system will automatically wait this time to allow the caching platform in front of Drupal, to catch up (before other purgers kick in).
This value adds up to the total time hint of this purger and therefore the higher this value is, the less processing can happen per request. Platforms that clear instantly (e.g.: via a socket) are best off leaving this at 0.0.
Type: float
File
- src/
Annotation/ PurgePurger.php, line 52
Class
- PurgePurger
- Defines a PurgePurger annotation object.
Namespace
Drupal\purge\AnnotationCode
public $cooldown_time = 0.0;