panlei
2019-09-09 5467dc4a0c77577b0c173325da1b20f38913442b
cpu test
1个文件已修改
4 ■■■■ 已修改文件
main.go 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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)