up.
This commit is contained in:
parent
2c3ccbabb6
commit
24f636cbc5
@ -37,7 +37,7 @@ class SysGateway extends Command
|
|||||||
$argv[] = '-g';
|
$argv[] = '-g';
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->registerAddress = config('gateway.registerAddress', '127.0.0.1:1236');
|
$this->registerAddress = config('admin.gateway.registerAddress', '127.0.0.1:1236');
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -71,7 +71,7 @@ class SysGateway extends Command
|
|||||||
private function startGateway(): \GatewayWorker\Gateway
|
private function startGateway(): \GatewayWorker\Gateway
|
||||||
{
|
{
|
||||||
// gateway 进程
|
// gateway 进程
|
||||||
$gateway = new \GatewayWorker\Gateway('Websocket://'.config('gateway.websocketAddress', '0.0.0.0:19981'));
|
$gateway = new \GatewayWorker\Gateway('Websocket://'.config('admin.gateway.websocketAddress', '0.0.0.0:19981'));
|
||||||
// 设置名称,方便status时查看
|
// 设置名称,方便status时查看
|
||||||
$gateway->name = 'AdminGateway';
|
$gateway->name = 'AdminGateway';
|
||||||
// 设置进程数,一般两个进程就足够
|
// 设置进程数,一般两个进程就足够
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user