Skip to content

NX parameter missing for EXPIRE command #1862

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

Closed
bmassemin opened this issue Aug 16, 2021 · 8 comments
Closed

NX parameter missing for EXPIRE command #1862

bmassemin opened this issue Aug 16, 2021 · 8 comments
Labels

Comments

@bmassemin
Copy link

According to https://redis.io/commands/expire the EXPIRE command can have the NX parameter.
I can't find a command like ExpireNX() or a parameter for Expire()

Am I missing something ?
Thanks 🙏

@monkey92t
Copy link
Collaborator

Yes, it is a new option added by redis7.0, go-redis has not been updated yet.

@bmassemin
Copy link
Author

Can I push a PR with this new method or usually the maintainers are developing all the new features of an engine all at once?

@monkey92t
Copy link
Collaborator

Yes, welcome

@monkey92t
Copy link
Collaborator

Can I push a PR with this new method or usually the maintainers are developing all the new features of an engine all at once?

If you perform unit tests locally, you can try this tool (grte), it is still in the testing phase

@DaemonSnake
Copy link
Contributor

Hi, any news @bmassemin ?

@bmassemin
Copy link
Author

Sorry, I was planning on adding the feature to the client, but for my project, we don't use Redis 7 (yet), so I had to change my design.
I will try to take a moment tomorrow to propose a PR.

@dpandey5515
Copy link

dpandey5515 commented Feb 28, 2022

when are u guys planning to release the new version @DaemonSnake @vmihailenco @monkey92t

@github-actions
Copy link

This issue is marked stale. It will be closed in 30 days if it is not updated.

@github-actions github-actions bot added the Stale label Sep 22, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants