mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-23 17:20:24 +08:00
6 lines
142 B
Lua
6 lines
142 B
Lua
for _, offset in ipairs(ARGV) do
|
|
if tonumber(redis.call("getbit", KEYS[1], offset)) == 0 then
|
|
return false
|
|
end
|
|
end
|
|
return true |