jie.opensource.distributed-redis-tool.1.0.3.source-code.lock.lua Maven / Gradle / Ivy
if redis.call('get', KEYS[1]) == ARGV[1] then
return redis.call('del', KEYS[1])
else
return 0
end
if redis.call('get', KEYS[1]) == ARGV[1] then
return redis.call('del', KEYS[1])
else
return 0
end