From 355284a3ac944515951d4c2a7ec5d3964fb13857 Mon Sep 17 00:00:00 2001 From: panlei <2799247126@qq.com> Date: 星期四, 31 十月 2019 13:48:29 +0800 Subject: [PATCH] 把人体追踪从es最前改为放在规则最后 --- main.go | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/main.go b/main.go index 5fc3011..7f9a5d6 100644 --- a/main.go +++ b/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("鎻掑叆瀹孍s鎵�鐢ㄦ椂闂达細", time.Since(start)) //浜嬩欢鎺ㄩ�� - go labelFilter.Judge(resultMsg) + go labelFilter.PushSomthing(resultMsg) //}(msg) } } -- Gitblit v1.8.0