TTL (time to live)
Also written: TTL, TTLs, PTTL
How long a key has left before Redis deletes it on its own. `TTL` returns -1 for no expiry and -2 for no such key.
Also written: TTL, TTLs, PTTL
How long a key has left before Redis deletes it on its own. `TTL` returns -1 for no expiry and -2 for no such key.