Revert "改名"
This reverts commit fdf58326
This commit is contained in:
@@ -12,6 +12,7 @@ use Kiri\Exception\ConfigException;
|
||||
use Kiri\Message\Handler\Abstracts\HttpService;
|
||||
use Kiri\Server\Events\OnShutdown;
|
||||
use Psr\Container\ContainerExceptionInterface;
|
||||
use Kiri\Server\Events\OnServerBeforeStart;
|
||||
use Psr\Container\NotFoundExceptionInterface;
|
||||
use Swoole\Coroutine;
|
||||
|
||||
@@ -94,6 +95,8 @@ class Server extends HttpService
|
||||
|
||||
$this->container->get(ProcessManager::class)->batch($processes);
|
||||
|
||||
$this->eventDispatch->dispatch(new OnServerBeforeStart());
|
||||
|
||||
return $this->manager->getServer()->start();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user