This commit is contained in:
aozhiwei 2023-12-01 11:18:38 +08:00
parent 4d742651fa
commit 205c71d495
3 changed files with 4 additions and 8 deletions

View File

@ -1,7 +1,7 @@
[ [
{ {
"instance_id": 1, "instance_id": 1,
"listen_port": 8809, "listen_port": 8709,
"http_listen_port": 8809 "http_listen_port": 8609
} }
] ]

View File

@ -2,6 +2,6 @@
{ {
"instance_id": 1, "instance_id": 1,
"ip": "127.0.0.1", "ip": "127.0.0.1",
"listen_port": 7929 "listen_port": 7629
} }
] ]

View File

@ -29,11 +29,7 @@ func (this *HallClusterTable) GetIp() string {
} }
func (this *HallClusterTable) GetListenPort() int32 { func (this *HallClusterTable) GetListenPort() int32 {
if f5.IsTestEnv() { return this.selfConf.GetListenPort()
return 7921
} else {
return this.selfConf.GetListenPort()
}
} }
func (this *HallClusterTable) GetHttpListenPort() int32 { func (this *HallClusterTable) GetHttpListenPort() int32 {