From 474b52b52741771fef434c253208b3fa9f2c74f7 Mon Sep 17 00:00:00 2001 From: "everywhere.z" Date: Tue, 6 Sep 2022 18:45:36 +0800 Subject: [PATCH] =?UTF-8?q?bug=20#I5PFLG=20=E7=BB=84=E4=BB=B6=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E8=80=97=E6=97=B6=E6=9C=AA=E7=BB=9F=E8=AE=A1=E5=90=8E?= =?UTF-8?q?=E7=BD=AE=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yomahub/liteflow/core/NodeComponent.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/liteflow-core/src/main/java/com/yomahub/liteflow/core/NodeComponent.java b/liteflow-core/src/main/java/com/yomahub/liteflow/core/NodeComponent.java index b9f8e2956..e9d36be3a 100644 --- a/liteflow-core/src/main/java/com/yomahub/liteflow/core/NodeComponent.java +++ b/liteflow-core/src/main/java/com/yomahub/liteflow/core/NodeComponent.java @@ -113,6 +113,9 @@ public abstract class NodeComponent{ } throw e; } finally { + //后置处理 + self.afterProcess(this.getNodeId(), slot); + stopWatch.stop(); final long timeSpent = stopWatch.getTotalTimeMillis(); LOG.debug("[{}]:component[{}] finished in {} milliseconds",slot.getRequestId(),this.getDisplayName(),timeSpent); @@ -120,9 +123,6 @@ public abstract class NodeComponent{ //往CmpStep中放入时间消耗信息 cmpStep.setTimeSpent(timeSpent); - //后置处理 - self.afterProcess(this.getNodeId(), slot); - // 性能统计 if (ObjectUtil.isNotNull(monitorBus)) { CompStatistics statistics = new CompStatistics(this.getClass().getSimpleName(), timeSpent);