You are here

public function PhpRedis::garbageCollection in Redis 8

Same name in this branch
  1. 8 src/Flood/PhpRedis.php \Drupal\redis\Flood\PhpRedis::garbageCollection()
  2. 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

system_cron()

File

src/Flood/PhpRedis.php, line 91

Class

PhpRedis
Defines the database flood backend. This is the default Drupal backend.

Namespace

Drupal\redis\Flood

Code

public function garbageCollection() {

  // No garbage collection necessary.
}