改名
This commit is contained in:
@@ -13,7 +13,6 @@ use Kiri\Events\EventDispatch;
|
||||
use Kiri\Exception\ConfigException;
|
||||
use Kiri\Rpc\RpcProvider;
|
||||
use Server\Events\OnShutdown;
|
||||
use Swoole\Runtime;
|
||||
|
||||
|
||||
defined('PID_PATH') or define('PID_PATH', APP_PATH . 'storage/server.pid');
|
||||
@@ -82,7 +81,6 @@ class Server extends HttpService
|
||||
foreach ($processes as $process) {
|
||||
$this->manager->addProcess($process);
|
||||
}
|
||||
// Runtime::enableCoroutine(true, SWOOLE_HOOK_ALL ^ SWOOLE_HOOK_BLOCKING_FUNCTION);
|
||||
|
||||
return $this->manager->getServer()->start();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user