Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-13 18:42:42 +08:00
parent 24ebfac360
commit 88c3958aba
2 changed files with 6 additions and 4 deletions
+6 -3
View File
@@ -68,13 +68,16 @@ class RpcManager extends Component
/**
* @throws ReflectionException
* @throws Exception
*/
public function tick(): void
{
foreach ($this->_rpc as $name => $list) {
$this->async($name);
try {
foreach ($this->_rpc as $name => $list) {
$this->async($name);
}
} catch (\Throwable $throwable) {
$this->logger()->error(error_trigger_format($throwable));
}
}