From 9d9cd1d3b93613071d1dffc1c82c4515d2a65af6 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期二, 21 一月 2020 17:22:39 +0800 Subject: [PATCH] bug fixed change real fetcher ip --- util/data.go | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/util/data.go b/util/data.go index 53cb696..23844a0 100644 --- a/util/data.go +++ b/util/data.go @@ -1,20 +1,18 @@ package util -// FetchServerInfo 浠巗qlite鐨勬湇鍔″櫒鑾峰彇鍚屾淇℃伅鐨勬湇鍔� +// FetchServerInfo 浠巗qlite鐨勬湇鍔″櫒鑾峰彇SDK淇℃伅鐨勬湇鍔″櫒淇℃伅 type FetchServerInfo struct { IP string - HTTPort int HBPort int //蹇冭烦绔彛 DataPort int //鏁版嵁绔彛 } var ( - // FSI 鍚屾鏈嶅姟鍣ㄤ俊鎭� + // FSI SDK淇℃伅鏈嶅姟鍣↖P/Port FSI = &FetchServerInfo{ IP: "127.0.0.1", - HTTPort: 8001, - HBPort: 40007, - DataPort: 50007, + HBPort: 5005, + DataPort: 4005, } // ToRuleIPC to ruleprocess @@ -42,7 +40,6 @@ ConfigPath = "config-path" FetchSrvIP = "fetch-server-ip" - FetchSrvPort = "fetch-server-port" FetchSrvHeartbeatPort = "fetch-server-heartbeat-port" FetchSrvDataPort = "fetch-server-data-port" -- Gitblit v1.8.0