Skip to content

To support TTL parameter in GETSET command as well as in SET command #2349

@nykolaslima

Description

@nykolaslima

SET command supports EX and PX parameters to configure the key TTL. (http://redis.io/commands/SET)

It would be nice if the GETSET command also support those parameters, this way we could SET and configure the TTL in the same command. (http://redis.io/commands/GETSET)

What do you guys think about it? @antirez

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions