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

[Question] about the NX flag #111

Open
billaul opened this issue Jul 1, 2022 · 0 comments
Open

[Question] about the NX flag #111

billaul opened this issue Jul 1, 2022 · 0 comments

Comments

@billaul
Copy link

billaul commented Jul 1, 2022

Hello

At risk to look like a complet brainless person.
Why don't you use the flag NX when you try get a lock ?
I understand why NX is a problem when you want to extand a lock.
But after reading redis paper, NX seems mandatory for all new lock.

Did i miss something critical ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant