Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String SET: add support for KEEPTTL #2029

Merged
merged 5 commits into from
Mar 18, 2022
Merged

String SET: add support for KEEPTTL #2029

merged 5 commits into from
Mar 18, 2022

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.

1 participant