From 5467dc4a0c77577b0c173325da1b20f38913442b Mon Sep 17 00:00:00 2001
From: panlei <2799247126@qq.com>
Date: 星期一, 09 九月 2019 14:39:23 +0800
Subject: [PATCH] cpu test

---
 main.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/main.go b/main.go
index b4ea6a9..6bfe10f 100644
--- a/main.go
+++ b/main.go
@@ -40,7 +40,7 @@
 func main() {
 	flag.Parse()
 	wg := sync.WaitGroup{}
-	wg.Add(2)
+	wg.Add(3)
 
 	dbapi.Init(*dbIp, *dbPort)
 	go cache.Init(initchan, *dbIp, *surveyPort, *pubPort)
@@ -49,7 +49,7 @@
 	ruleserver.Init()
 	go ruleserver.TimeTicker()
 	go func() {
-		logger.Info(http.ListenAndServe("0:0:0:0:6068",nil))
+		logger.Info(http.ListenAndServe("0:0:0:0:6069",nil))
 	}()
 	go ruleserver.StartServer()
 	nReciever("ipc:///tmp/sdk-2-rules-process.ipc", deliver.PushPull, 1)

--
Gitblit v1.8.0