From 6eb6cbfe9f8e369d04d52c5df6e0800ab67ba4e7 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Mon, 12 Apr 2021 03:14:39 +0800 Subject: [PATCH] modify --- System/Crontab/Crontab.php | 2 -- System/Crontab/Zookeeper.php | 1 - 2 files changed, 3 deletions(-) diff --git a/System/Crontab/Crontab.php b/System/Crontab/Crontab.php index 0740923a..a6dd74cc 100644 --- a/System/Crontab/Crontab.php +++ b/System/Crontab/Crontab.php @@ -221,8 +221,6 @@ class Crontab extends BaseObject $name_md5 = md5($this->getName()); - var_dump($name_md5); - $redis->hSet(self::WAIT_END, $name_md5, serialize($this)); $params = call_user_func($this->handler, $this->params, $this->name); $redis->hDel(self::WAIT_END, $name_md5); diff --git a/System/Crontab/Zookeeper.php b/System/Crontab/Zookeeper.php index 124e9c5c..0d47ed5b 100644 --- a/System/Crontab/Zookeeper.php +++ b/System/Crontab/Zookeeper.php @@ -62,7 +62,6 @@ class Zookeeper extends Process */ private function dispatch($server, $redis, $setting, $value) { - var_dump($value); $server->sendMessage(swoole_serialize([ 'action' => 'crontab', 'handler' => swoole_unserialize($redis->get('crontab:' . $value)) ]), random_int(0, $setting - 1));