From d967b8a8d6684a422cd718197da3da203dfbe495 Mon Sep 17 00:00:00 2001 From: "chen.ma" Date: Thu, 18 Nov 2021 22:39:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=E5=8A=A8=E6=80=81=E7=BA=BF?= =?UTF-8?q?=E7=A8=8B=E6=B1=A0=E6=97=A0=E7=94=A8=E4=BB=A3=E7=A0=81.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cn/hippo4j/starter/core/DynamicThreadPoolExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/starter/core/DynamicThreadPoolExecutor.java b/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/starter/core/DynamicThreadPoolExecutor.java index cb4ff98b..41fd8d46 100644 --- a/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/starter/core/DynamicThreadPoolExecutor.java +++ b/hippo4j-spring-boot-starter/src/main/java/cn/hippo4j/starter/core/DynamicThreadPoolExecutor.java @@ -910,7 +910,7 @@ public class DynamicThreadPoolExecutor extends ThreadPoolExecutor { protected void afterExecute(Runnable r, Throwable t) { Date startDate = statisticsTime.remove(String.valueOf(r.hashCode())); Date finishDate = new Date(); - long diff = finishDate.getTime() - startDate.getTime(); + // long diff = finishDate.getTime() - startDate.getTime(); }