This commit is contained in:
as2252258@163.com
2021-04-11 19:04:25 +08:00
parent 858e4b2ba5
commit 76fab90abb
+3 -3
View File
@@ -37,10 +37,10 @@ abstract class Process extends \Swoole\Process implements SProcess
$this->application = $application; $this->application = $application;
Snowflake::setProcessId($this->pid); Snowflake::setProcessId($this->pid);
$content = System::readFile(storage('runtime.php')); // $content = System::readFile(storage('runtime.php'));
$annotation = Snowflake::app()->getAnnotation(); // $annotation = Snowflake::app()->getAnnotation();
$annotation->setLoader(unserialize($content)); // $annotation->setLoader(unserialize($content));
} }
/** /**