From 2c3aa09cf18bf6798a38f0334ce45d864135621e Mon Sep 17 00:00:00 2001 From: panlei <2799247126@qq.com> Date: 星期三, 06 十一月 2019 16:18:36 +0800 Subject: [PATCH] 绘图比例float int问题 --- main.go | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 34fa075..32fa0e0 100644 --- a/main.go +++ b/main.go @@ -87,7 +87,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) @@ -105,8 +105,8 @@ esEnd := time.Since(start) logger.Debug("鎻掑叆瀹孍s鎵�鐢ㄦ椂闂达細", esEnd) //浜嬩欢鎺ㄩ�� - //labelFilter.PushSomthing(resultMsg) - }(msg) + labelFilter.PushSomthing(resultMsg) + //}(msg) } } } -- Gitblit v1.8.0