From dc4e05cc0bfc463bcd6aac8fcd650c6c84c5e897 Mon Sep 17 00:00:00 2001
From: panlei <2799247126@qq.com>
Date: 星期一, 04 十一月 2019 11:38:42 +0800
Subject: [PATCH] 测事件推送所用时间

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

diff --git a/main.go b/main.go
index 2ac11e3..c763991 100644
--- a/main.go
+++ b/main.go
@@ -93,7 +93,7 @@
 			} else {
 				//runtime.GOMAXPROCS(runtime.NumCPU())
 				//logger.Debug("浣跨敤鐨刢pu涓暟锛�",runtime.NumCPU())
-				go func(msg []byte) {
+				//go func(msg []byte) {
 					logger.Debug("褰撳墠鏃堕棿鎴筹細", time.Now().Unix())
 					arg := structure.SdkDatas{}
 					//paramFormat(msg, &arg)
@@ -113,7 +113,7 @@
 					labelFilter.PushSomthing(resultMsg)
 					pushEnd := time.Since(start)
 					logger.Info("浜嬩欢鎺ㄩ�佸畬鎵�鐢ㄦ椂闂达細",ruleEnd,esEnd,pushEnd)
-				}(msg)
+				//}(msg)
 			}
 		}
 	}

--
Gitblit v1.8.0