@@ -2,7 +2,7 @@ Name: events.rpc
ListenOn: 0.0.0.0:1116
Timeout: 0
-Mode: pro
+Mode: test
Log:
ServiceName: events-rpc
@@ -38,7 +38,7 @@ func main() {
fmt.Printf("Starting rpc server at %s...\n", c.ListenOn)
s.Start()
- if c.Mode == "pro" {
+ if c.Mode != "dev" {
envitem.SetOptions(envitem.Options{GtServerIp: c.GtServerIp, Cache: ctx.Cache})
go func() {
@@ -7,7 +7,7 @@ Mode: test
ServiceName: organization-rpc
Mode: console
- Level: info
+ Level: error
#双胞胎服务
GtServerIp: 172.16.69.188:8900