
.rest-storage.3.1.9.source-code.lock_release.lua Maven / Gradle / Ivy
local lockKey = KEYS[1]
local token = ARGV[1]
if redis.call("get", lockKey) == token then
return redis.call("del", lockKey)
else
return 0
end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy