You are here

public function Predis::garbageCollection in Redis 8

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

system_cron()

File

src/Flood/Predis.php, line 91

Class

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

Namespace

Drupal\redis\Flood

Code

public function garbageCollection() {

  // No garbage collection necessary.
}