Break out into a multi-module project

This commit is contained in:
Moxie Marlinspike committed 2019-05-01 13:19:11 -07:00
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")