mirror of
https://github.com/Snapchat/KeyDB.git
synced 2026-11-25 07:49:40 -05:00
The previous behavior was to return -1 if: 1) Existing key but without an expire set. 2) Non existing key. Now the second case is handled in a different, and TTL will return -2 if the key does not exist at all. PTTL follows the same behavior as well.