GETEX
EX
seconds — Set the specified expire time, in seconds.PX
milliseconds — Set the specified expire time, in milliseconds.EXAT
timestamp-seconds — Set the specified Unix time at which the key will expire, in seconds.- — Remove the time to live associated with the key.
dragonfly> SET mykey "Hello"
"OK"
"Hello"
dragonfly> TTL mykey
(integer) -1
"Hello"
dragonfly> TTL mykey
(integer) 60