The Redis PEXPIRE
command sets a timeout on a given key in milliseconds. After the timeout has expired, the key will be deleted.
The PEXPIRE
command works exactly the same as the EXPIRE
command, except that it returns the timeout in milliseconds instead of seconds.