Add an explicit client presence system.

This commit is contained in:
Jon Chambers authored and Jon Chambers committed 2020-08-13 10:56:26 -04:00
1 parent 9457325119
commit 2c29f831e8
10 files changed
+572 -31

No files matched your search

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