改名
This commit is contained in:
@@ -119,7 +119,7 @@ class Zookeeper extends Process
|
|||||||
private function loadCarobTask(Redis|\Redis $redis): array
|
private function loadCarobTask(Redis|\Redis $redis): array
|
||||||
{
|
{
|
||||||
$script = <<<SCRIPT
|
$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))
|
redis.call('ZREM', KEYS[1], unpack(_two))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user