You are here

public function Redis_Cache::getMaxTtl in Redis 7.3

Get maximum TTL for all items.

Return value

int Lifetime in seconds.

1 call to Redis_Cache::getMaxTtl()
Redis_Cache::set in lib/Redis/Cache.php
Stores data in the persistent cache.

File

lib/Redis/Cache.php, line 165

Class

Redis_Cache
Because those objects will be spawned during boostrap all its configuration must be set in the settings.php file.

Code

public function getMaxTtl() {
  return $this->maxTtl;
}