This commit is contained in:
as2252258@163.com
2021-04-16 00:56:11 +08:00
parent 7ed4d43a9a
commit 2d78233dc5
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -91,6 +91,7 @@ class Zookeeper extends Process
$startTime = time();
$range = $redis->zRangeByScore(Producer::CRONTAB_KEY, '0', (string)$startTime);
var_dump($startTime, $range);
$redis->zRem(Producer::CRONTAB_KEY, ...$range);
return [$range, $redis];