From 943e5b2b9b1af596131f5e8f623bfc514668cd2d Mon Sep 17 00:00:00 2001 From: panlei <2799247126@qq.com> Date: 星期一, 09 九月 2019 14:56:12 +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..3a954f7 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)) + http.ListenAndServe("0:0:0:0:8069",nil) }() go ruleserver.StartServer() nReciever("ipc:///tmp/sdk-2-rules-process.ipc", deliver.PushPull, 1) -- Gitblit v1.8.0