From f9b081d4d47cb213e261dd089760dfdf86dba9a8 Mon Sep 17 00:00:00 2001 From: weiz Date: Sat, 21 Oct 2023 11:36:52 +0800 Subject: [PATCH] reset vendor worker ip --- vendor/workerman/gateway-worker/src/BusinessWorker.php | 2 +- vendor/workerman/gateway-worker/src/Gateway.php | 2 +- vendor/workerman/gateway-worker/src/Lib/Gateway.php | 2 +- vendor/workerman/gatewayclient/Gateway.php | 2 +- vendor/workerman/gatewayclient/README.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/vendor/workerman/gateway-worker/src/BusinessWorker.php b/vendor/workerman/gateway-worker/src/BusinessWorker.php index bf9bea5c0..a87831f2f 100644 --- a/vendor/workerman/gateway-worker/src/BusinessWorker.php +++ b/vendor/workerman/gateway-worker/src/BusinessWorker.php @@ -43,7 +43,7 @@ class BusinessWorker extends Worker * * @var string|array */ - public $registerAddress = '172.19.97.179:1256'; + public $registerAddress = '127.0.0.1:1236'; /** * 事件处理类,默认是 Event 类 diff --git a/vendor/workerman/gateway-worker/src/Gateway.php b/vendor/workerman/gateway-worker/src/Gateway.php index 48453b95a..205dc42db 100644 --- a/vendor/workerman/gateway-worker/src/Gateway.php +++ b/vendor/workerman/gateway-worker/src/Gateway.php @@ -83,7 +83,7 @@ class Gateway extends Worker * * @var string|array */ - public $registerAddress = '172.19.97.179:1256'; + public $registerAddress = '127.0.0.1:1236'; /** * 是否可以平滑重启,gateway 不能平滑重启,否则会导致连接断开 diff --git a/vendor/workerman/gateway-worker/src/Lib/Gateway.php b/vendor/workerman/gateway-worker/src/Lib/Gateway.php index e3caa176e..a027bc49b 100644 --- a/vendor/workerman/gateway-worker/src/Lib/Gateway.php +++ b/vendor/workerman/gateway-worker/src/Lib/Gateway.php @@ -34,7 +34,7 @@ class Gateway * * @var string|array */ - public static $registerAddress = '172.19.97.179:1256'; + public static $registerAddress = '127.0.0.1:1236'; /** * 秘钥 diff --git a/vendor/workerman/gatewayclient/Gateway.php b/vendor/workerman/gatewayclient/Gateway.php index f3ea69040..f79f81fda 100644 --- a/vendor/workerman/gatewayclient/Gateway.php +++ b/vendor/workerman/gatewayclient/Gateway.php @@ -36,7 +36,7 @@ class Gateway * * @var string|array */ - public static $registerAddress = '172.19.97.179:1256'; + public static $registerAddress = '127.0.0.1:1236'; /** * 秘钥 diff --git a/vendor/workerman/gatewayclient/README.md b/vendor/workerman/gatewayclient/README.md index 95b36bff1..50aa17139 100644 --- a/vendor/workerman/gatewayclient/README.md +++ b/vendor/workerman/gatewayclient/README.md @@ -64,7 +64,7 @@ require_once '真实路径/vendor/autoload.php'; * === 如果GatewayClient和GatewayWorker在同一台服务器 === * GatewayClient和Register服务都在一台服务器上,ip填写127.0.0.1及即可,无需其它设置。 **/ -Gateway::$registerAddress = '172.19.97.179:1256'; +Gateway::$registerAddress = '127.0.0.1:1236'; // GatewayClient支持GatewayWorker中的所有接口(Gateway::closeCurrentClient Gateway::sendToCurrentClient除外) Gateway::sendToAll($data);