This commit is contained in:
as2252258@163.com
2021-04-12 03:14:39 +08:00
parent 30cfcd6c0f
commit 6eb6cbfe9f
2 changed files with 0 additions and 3 deletions
-2
View File
@@ -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);
-1
View File
@@ -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));