PSETEX
Since 1.1.0Strings
Syntax
PSETEX key milliseconds valueSets key to value and makes it expire after milliseconds. It is SET key value PX milliseconds.
Reply
OK.ERR invalid expire time in PSETEXifmillisecondsis zero or negative.
Examples
> PSETEX p 1500 v
OK
> PTTL p
(integer) 1500