This commit is contained in:
2021-06-07 11:55:06 +08:00
parent d353e019df
commit 188f53d3b0
+1 -1
View File
@@ -121,7 +121,7 @@ class Zookeeper extends Process
$script = <<<SCRIPT
local _two = redis.call('ZRANGEBYSCORE', KEYS[1], '0', ARGV[1])
redis.call('ZREM', KEYS[1], unpack(_one))
redis.call('ZREM', KEYS[1], unpack(_two))
return _two
SCRIPT;