get cache ttl
This block is part of the redis group and was last modified in core v15.0.0.
Redis Key Selection Required
This block relies on a Redis key to perform its redis releated actions. You must manually select the Redis key you want to use in the flow in the blueprint using the Redis key selector modal. To access the modal, click the white button on the block.
get cache ttl v11.0.0 Updated v15.0.0get the time to live in seconds
- flow
flow
- flow
flow - TTL
numberCurrent time to live in seconds. Redis' own sentinels are passed through:
-1when the key exists but has no expiry,-2when the key does not exist. - exists
v15.0.0conditionFalse when the key does not exist (TTL
-2). - has expiry
v15.0.0conditionFalse when the key exists but never expires (TTL
-1), or when it does not exist at all. - key
v15.0.0valueThe resolved cache key.
redis |
A typical wiring for get cache ttl: a function trigger starts the flow; the flow out pin feeds debug.

Version history
Introduced in v11.0.0.
Last modified in v15.0.0.
v13.0.6, click here to see the release notes. Back to
redis Return to the main group to view all sub-groups Back to redis Return to the group to view all blocks within this group
