You are here

constant Redis_Cache::FLUSH_SHARD in Redis 7.3

This mode is tailored for sharded Redis servers instances usage: it will never delete entries but only mark the latest flush timestamp into one of the servers in the shard. It will proceed to delete on read single entries when invalid entries are being loaded.

File

lib/Redis/Cache.php, line 35

Class

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

Code

const FLUSH_SHARD = 3;