We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
BAD
local rst = redis.call("hmget",KEYS[1],"remain","lock",ARGV[1]) rst[1] == nil then return 404 end
GOOD
local rst = redis.call("hmget",KEYS[1],"remain","lock",ARGV[1]) rst[1] == nil or rst[1] == false then return 404 end
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
根据 key 是否存在,返回 404
BAD
GOOD
The text was updated successfully, but these errors were encountered: