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