Remove unused Lua scripts

This commit is contained in:
Jon Chambers
2025-08-01 16:53:50 -04:00
committed by Jon Chambers
parent 5a65a46fc1
commit 6fa01a5d48
3 changed files with 0 additions and 24 deletions

View File

@@ -1,8 +0,0 @@
-- keys: lock_key
-- argv: lock_value
if redis.call("GET", KEYS[1]) == ARGV[1] then
return redis.call("DEL", KEYS[1])
else
return 0
end

View File

@@ -1,9 +0,0 @@
local presenceKey = KEYS[1]
local presenceUuid = ARGV[1]
if redis.call("GET", presenceKey) == presenceUuid then
redis.call("DEL", presenceKey)
return true
end
return false

View File

@@ -1,7 +0,0 @@
local presenceKey = KEYS[1]
local presenceUuid = ARGV[1]
local expireSeconds = ARGV[2]
if redis.call("GET", presenceKey) == presenceUuid then
redis.call("EXPIRE", presenceKey, expireSeconds)
end