You are here

constant Redis_Cache_Base::FLUSH_NOTHING in Redis 7.2

Flush nothing on generic clear().

Because Redis handles keys TTL by itself we don't need to pragmatically flush items by ourselves in most case: only 2 exceptions are the "page" and "block" bins which are never expired manually outside of cron.

File

lib/Redis/Cache/Base.php, line 40

Class

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

Code

const FLUSH_NOTHING = 0;