This commit is contained in:
2021-12-08 11:16:35 +08:00
parent c19e141f68
commit a64fa8f493
+5 -1
View File
@@ -291,7 +291,7 @@ class ServerManager extends Component
$id = Config::get('id', 'system-service');
$this->logger->debug(sprintf('[%s]' . $type . ' service %s::%d start', $id, $host, $port));
$this->logger->debug(sprintf('[%s].' . $type . ' service %s::%d start', $id, $host, $port));
$this->addDefaultListener($settings);
}
@@ -356,8 +356,10 @@ class ServerManager extends Component
/**
* @param array $events
* @return void
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
* @throws ReflectionException
*/
private function addTaskListener(array $events = []): void
{
@@ -374,8 +376,10 @@ class ServerManager extends Component
/**
* @param array|null $settings
* @return void
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
* @throws ReflectionException
*/
public function bindCallback(?array $settings = [])
{