From d24558233ed4d91dad480444b3e58365158b4c07 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sun, 11 Apr 2021 19:09:46 +0800 Subject: [PATCH] modify --- System/Process/Process.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/System/Process/Process.php b/System/Process/Process.php index 9620c4d7..dc9bcdbd 100644 --- a/System/Process/Process.php +++ b/System/Process/Process.php @@ -36,12 +36,6 @@ abstract class Process extends \Swoole\Process implements SProcess parent::__construct([$this, '_load'], false, 1, $enable_coroutine); $this->application = $application; Snowflake::setProcessId($this->pid); - - $content = System::readFile(storage('runtime.php')); - - $annotation = Snowflake::app()->getAnnotation(); - $annotation->setLoader(unserialize($content)); - $annotation->runtime(APP_PATH . 'app/Kafka'); } /**