public function Predis::garbageCollection in Redis 8
Same name in this branch
- 8 src/Flood/Predis.php \Drupal\redis\Flood\Predis::garbageCollection()
- 8 src/Queue/Predis.php \Drupal\redis\Queue\Predis::garbageCollection()
Cleans up expired flood events. This method is called automatically on cron run.
Overrides FloodInterface::garbageCollection
See also
File
- src/
Flood/ Predis.php, line 91
Class
- Predis
- Defines the database flood backend. This is the default Drupal backend.
Namespace
Drupal\redis\FloodCode
public function garbageCollection() {
// No garbage collection necessary.
}