mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 11:06:47 +00:00
Break out into a multi-module project
This commit is contained in:
1 parent
b41dde777e
commit
d0d375aeb7
318 files changed
+255
-215
No files matched your search
@@ -0,0 +1,10 @@
|
||||
-- keys: queue_key, queue_locked_key
|
||||
-- argv: limit
|
||||
|
||||
local locked = redis.call("GET", KEYS[2])
|
||||
|
||||
if locked then
|
||||
return {}
|
||||
end
|
||||
|
||||
return redis.call("ZRANGE", KEYS[1], 0, ARGV[1], "WITHSCORES")
|
||||
Reference in new issue
Block a user