Merge pull request 'fixed' (#128) from zhangwei into dev

Reviewed-on: #128
This commit is contained in:
weiz 2023-10-20 16:41:46 +08:00
commit 52f386c61b

View File

@ -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