PSETEX

redis and string | Mar 1, 2016 • Ding Jiao

PSETEX works exactly like SETEX with the sole difference that the expire time is specified in milliseconds instead of seconds.

@examples

PSETEX mykey 1000 "Hello"
PTTL mykey
GET mykey