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

确实是可以的,我看成Mutex那个了,不好意思 #4

Open
hellomdk opened this issue May 16, 2022 · 0 comments
Open

确实是可以的,我看成Mutex那个了,不好意思 #4

hellomdk opened this issue May 16, 2022 · 0 comments

Comments

@hellomdk
Copy link

可重入

if (redis.call('exists', KEYS[1]) == 0) then

续期
if (redis.call('hexists', KEYS[1], ARGV[2]) == 1) then

Originally posted by @cheerego in #3 (comment)

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