This commit is contained in:
2021-06-07 12:01:44 +08:00
parent 8286e27407
commit 33508652ad
+1 -1
View File
@@ -119,7 +119,7 @@ class Zookeeper extends Process
private function loadCarobTask(Redis|\Redis $redis): array
{
$script = <<<SCRIPT
local _two = redis.call('ZRANGEBYSCORE', KEYS[1], '0', ARGV[1])
local _two = redis.call('zRangeByScore', KEYS[1], '0', ARGV[1])
redis.call('ZREM', KEYS[1], unpack(_two))