main.go
@@ -63,6 +63,7 @@ go cache.Init(initchan, *dbIp, *surveyPort, *pubPort) logger.Info("cache init completed!!!", <-initchan) //dbserver初始化完毕 ruleserver.Init() labelFilter.Init() go ruleserver.TimeTicker() go ruleserver.StartServer() nReciever("ipc:///tmp/sdk-2-rules-process.ipc", deliver.PushPull, 1) @@ -107,7 +108,7 @@ insertdata.InsertToEs(resultMsg) logger.Debug("插入完Es所用时间:", time.Since(start)) //事件推送 go labelFilter.Judge(resultMsg) labelFilter.PushSomthing(resultMsg) //}(msg) } }