改名
This commit is contained in:
@@ -113,7 +113,6 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
|
||||
*/
|
||||
public function register(OnServerBeforeStart $server)
|
||||
{
|
||||
$this->manager->tableInit();
|
||||
$this->manager->register();
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user