up.
This commit is contained in:
parent
24f636cbc5
commit
5beb32e879
@ -80,7 +80,7 @@ class SysGateway extends Command
|
||||
$gateway->lanIp = '127.0.0.1';
|
||||
// 内部通讯起始端口。假如$gateway->count=2,起始端口为2300
|
||||
// 则一般会使用2300 2301 2个端口作为内部通讯端口
|
||||
$gateway->startPort = 2300;
|
||||
$gateway->startPort = (int)config('admin.gateway.startPort', 2300);
|
||||
// 心跳间隔
|
||||
$gateway->pingInterval = 10;
|
||||
// 心跳数据
|
||||
|
||||
@ -22,5 +22,6 @@ return [
|
||||
'gateway' => [
|
||||
'websocketAddress' => env('GATEWAY_WEBSOCKET_ADDRESS','0.0.0.0:19981'),
|
||||
'registerAddress'=> env('GATEWAY_REGISTER_ADDRESS', '127.0.0.1:1236'),
|
||||
'startPort' => (int)env('GATEWAY_START_PORT', 2300)
|
||||
]
|
||||
];
|
||||
Loading…
Reference in New Issue
Block a user