Skip to content

Add TTL and PTTL commands

George Barnett requested to merge georgebarnett/RediStack:gb-command-ttl into master

Motivation:

The TTL and PTTL commands are missing.

Modifications:

  • Add TTL and PTTL commands
  • Add integration tests

Result:

  • Users can query the ttl in seconds or milliseconds of a key

Checklist

  • Copyright headers in new files (see CONTRIBUTING.md)
  • Unit tests added
  • API Documentation comments

Merge request reports