![JAR search and dependency download from the Maven repository](/logo.png)
lock.unlock.lua Maven / Gradle / Ivy
-- unlock key
local key = KEYS[1]
local content = KEYS[2]
local value = redis.call('get', key)
if value == content then
-- redis.call('decr', "count")
return redis.call('del', key);
end
return 0
© 2015 - 2025 Weber Informatics LLC | Privacy Policy