fixed
This commit is contained in:
parent
775fabd126
commit
121de0459d
@ -10,13 +10,12 @@ require_once __DIR__ . '/../../vendor/autoload.php';
|
||||
$gateway = new Gateway("Websocket://0.0.0.0:8282");
|
||||
|
||||
// gateway名称,status方便查看
|
||||
$gateway->name = 'worker_im';
|
||||
$gateway->name = 'worker_task_im';
|
||||
|
||||
// gateway进程数,一般设置2个就足够
|
||||
$gateway->count = 4;
|
||||
|
||||
// 本机ip,分布式部署时使用内网ip
|
||||
//ce_shi
|
||||
$gateway->lanIp = '172.19.97.179';
|
||||
|
||||
// 内部通讯起始端口,假如$gateway->count=2,起始端口为2900
|
||||
|
Loading…
x
Reference in New Issue
Block a user