This commit is contained in:
2021-04-15 16:34:12 +08:00
parent 2f5f86a5ab
commit 1a24daf8dc
4 changed files with 9 additions and 12 deletions
-1
View File
@@ -34,7 +34,6 @@ abstract class Process extends \Swoole\Process implements SProcess
public function __construct($application, $name, $enable_coroutine = true)
{
parent::__construct([$this, '_load'], false, 1, $enable_coroutine);
$this->application = $application;
Snowflake::setProcessId($this->pid);
}