This commit is contained in:
2023-11-29 14:21:30 +08:00
parent 3bb2907407
commit 7189999a71
+1 -1
View File
@@ -149,7 +149,7 @@ class AsyncServer implements ServerInterface
if ($port === false) { if ($port === false) {
throw new Exception('Listen port fail.' . swoole_last_error()); throw new Exception('Listen port fail.' . swoole_last_error());
} }
println('Add port listen ' . $config->host . '::' . $config->port);
$port->set($this->resetSettings($config->type, $config->settings)); $port->set($this->resetSettings($config->type, $config->settings));
$this->onEventListen($port, $config->getEvents()); $this->onEventListen($port, $config->getEvents());