This commit is contained in:
2021-12-02 15:53:25 +08:00
parent 3538393620
commit 6fcd26f80f
2 changed files with 0 additions and 12 deletions
-1
View File
@@ -113,7 +113,6 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
*/
public function register(OnServerBeforeStart $server)
{
$this->manager->tableInit();
$this->manager->register();
}
-11
View File
@@ -19,17 +19,6 @@ class RpcManager
private array $_rpc = [];
private Table $table;
public function tableInit()
{
$this->table = new Table((int)Config::get('rpc.total', 10));
$this->table->column('name', Table::TYPE_STRING);
$this->table->create();
}
/**
* @param $serviceName
* @return void