diff --git a/System/Crontab/Producer.php b/System/Crontab/Producer.php index 0061b7bc..f612c238 100644 --- a/System/Crontab/Producer.php +++ b/System/Crontab/Producer.php @@ -40,8 +40,6 @@ class Producer extends Component $result = $redis->zAdd(self::CRONTAB_KEY, $tickTime, $name); if ($result) { $redis->set('crontab:' . $name, swoole_serialize($crontab)); - - var_dump($crontab); } } diff --git a/System/Crontab/Zookeeper.php b/System/Crontab/Zookeeper.php index 85ce7f03..62604cb7 100644 --- a/System/Crontab/Zookeeper.php +++ b/System/Crontab/Zookeeper.php @@ -90,6 +90,7 @@ class Zookeeper extends Process $startTime = time(); $range = $redis->zRangeByScore(Producer::CRONTAB_KEY, '0', (string)$startTime); + var_dump($range); $redis->zRemRangeByScore(Producer::CRONTAB_KEY, '0', (string)$startTime); return [$range, $redis];