改名
This commit is contained in:
@@ -74,7 +74,9 @@ class Server extends HttpService
|
|||||||
if (!empty($rpcService)) {
|
if (!empty($rpcService)) {
|
||||||
$this->rpcListener($rpcService);
|
$this->rpcListener($rpcService);
|
||||||
}
|
}
|
||||||
foreach ($this->process as $process) {
|
|
||||||
|
$processes = array_merge($this->process, Config::get('processes', []));
|
||||||
|
foreach ($processes as $process) {
|
||||||
$this->manager->addProcess($process);
|
$this->manager->addProcess($process);
|
||||||
}
|
}
|
||||||
Runtime::enableCoroutine(true, SWOOLE_HOOK_ALL ^ SWOOLE_HOOK_BLOCKING_FUNCTION);
|
Runtime::enableCoroutine(true, SWOOLE_HOOK_ALL ^ SWOOLE_HOOK_BLOCKING_FUNCTION);
|
||||||
|
|||||||
Reference in New Issue
Block a user