From a4a72f25dbf4ca3d4ea9188fa41060a5ed0c1477 Mon Sep 17 00:00:00 2001 From: linwl <304115325@qq.com> Date: Fri, 16 Apr 2021 15:24:02 +0800 Subject: [PATCH] =?UTF-8?q?IOT=E8=B0=83=E7=94=A8=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/telpo/iotgateway/server/IotCommunication.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/telpo/iotgateway/server/IotCommunication.java b/src/main/java/com/telpo/iotgateway/server/IotCommunication.java index b8e0c94..7d0cbab 100644 --- a/src/main/java/com/telpo/iotgateway/server/IotCommunication.java +++ b/src/main/java/com/telpo/iotgateway/server/IotCommunication.java @@ -119,12 +119,12 @@ public class IotCommunication { if (reqCount == 10000) { long appPassTime = (new DateTime()).getTime(); log.info("10000请求用时秒数:" + (appPassTime-appStartTime)/1000); - log.info("用时超过1000毫秒次数:" + reqLongCount); log.info("平均每次请求用时(毫秒):" + allOfManTime/10000); reqCount = 0; allOfManTime = 0; appStartTime = appPassTime; - reqLongCount=0; + //reqLongCount=0; + log.info("用时超过1000毫秒总次数:" + reqLongCount); } } } catch (ServerException e) {