瀏覽代碼

IOT调用测试

master
林万龙 3 年之前
父節點
當前提交
a4a72f25db
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      src/main/java/com/telpo/iotgateway/server/IotCommunication.java

+ 2
- 2
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) {


Loading…
取消
儲存