As of Redis version 2.6.12, this command is regarded as deprecated.
It can be replaced by
SET with the
PX argument when migrating or writing new code.
PSETEX key milliseconds value
- Available since:
- Time complexity:
- ACL categories:
PSETEX works exactly like
SETEX with the sole difference that the expire
time is specified in milliseconds instead of seconds.
RESP2/RESP3 ReplySimple string reply: