Skip to content

Conversation

@NickCraver
Copy link
Collaborator

Fix for #1920, adding support for the KEEPTTL flag on SET, present since 6.0.0.

Thoughts:

  • This needs careful eyes for no breaking changes
  • Should we add additional checks if both expiry and keepTtl are passed? In code: keepTtl only works if expiry is null, but we don't explicitly throw.

Fix for #1920, adding support for the `KEEPTTL` flag on `SET`, present since 6.0.0.

Thoughts:
- This needs careful eyes for no breaking changes
- Should we add additional checks if _both_ expiry and keepTtl are passed? In code: keepTtl only works if expiry is null, but we don't explicitly throw.
@NickCraver NickCraver merged commit 1907f07 into main Mar 18, 2022
@NickCraver NickCraver deleted the craver/set-keepttl branch March 18, 2022 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants