变更
This commit is contained in:
@@ -78,6 +78,9 @@ class CoroutineServer implements ServerInterface
|
||||
if (!empty($rpcService)) {
|
||||
$this->addListener(instance(SConfig::class, [], $rpcService));
|
||||
}
|
||||
|
||||
$this->container->setBindings(ServerInterface::class, $this);
|
||||
|
||||
// $this->processManager->batch(Config::get('processes', []));
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ class Server extends HttpService
|
||||
* @throws Exception
|
||||
*/
|
||||
public function __construct(public State $state,
|
||||
public AsyncServer $manager,
|
||||
public CoroutineServer $manager,
|
||||
public ContainerInterface $container,
|
||||
public ProcessManager $processManager,
|
||||
public EventDispatch $dispatch,
|
||||
|
||||
Reference in New Issue
Block a user