diff --git a/docs/guide_cn.md b/docs/guide_cn.md
index 6dd30b22b..a44290114 100644
--- a/docs/guide_cn.md
+++ b/docs/guide_cn.md
@@ -9,7 +9,7 @@ liteflow需要你的项目使用maven
${liteFlow.version}
```
-最新版本为*2.2.2*,为稳定版本,目前jar包已上传中央仓库,可以直接依赖到
+最新版本为*2.3.1*,为稳定版本,目前jar包已上传中央仓库,可以直接依赖到
## 1.2流程配置文件
@@ -303,20 +303,13 @@ public class HComponent extends NodeComponent {
## 7.7步骤打印
-liteFlow在执行每一条流程链后会打印步骤
+liteFlow在执行每一条流程链后会打印步骤,这个步骤是程序实际执行的顺序
样例如下:
```
a==>c==>m==>q==>p==>p1==>g
```
-当然你还可能看到这样的情况:
-
-```
-a==>c==>h(START)==>m==>p==>p1==>h(END)==>g
-```
-?> 其中h节点分start和end两个步骤,说明在h节点内调用了另一条流程。start和end之间的步骤就是另一条流程的步骤
-
## 7.8监控
liteFlow提供了简单的监控,目前只统计一个指标:每个组件的平均耗时
diff --git a/liteflow-core/pom.xml b/liteflow-core/pom.xml
index eaf29d41e..8292b9591 100644
--- a/liteflow-core/pom.xml
+++ b/liteflow-core/pom.xml
@@ -9,7 +9,7 @@
com.yomahub
liteflow
- 2.3.0
+ 2.3.1
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 f2192b87c..852fa26c3 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
@@ -36,7 +36,7 @@ public abstract class NodeComponent {
public void execute() throws Exception{
Slot slot = this.getSlot();
LOG.info("[{}]:[O]start component[{}] execution",slot.getRequestId(),this.getClass().getSimpleName());
- slot.addStep(new CmpStep(nodeId, CmpStepType.START));
+ slot.addStep(new CmpStep(nodeId, CmpStepType.SINGLE));
StopWatch stopWatch = new StopWatch();
stopWatch.start();
@@ -45,7 +45,7 @@ public abstract class NodeComponent {
stopWatch.stop();
long timeSpent = stopWatch.getTime();
- slot.addStep(new CmpStep(nodeId, CmpStepType.END));
+// slot.addStep(new CmpStep(nodeId, CmpStepType.END));
//性能统计
CompStatistics statistics = new CompStatistics();
diff --git a/liteflow-core/src/main/java/com/yomahub/liteflow/entity/data/AbsSlot.java b/liteflow-core/src/main/java/com/yomahub/liteflow/entity/data/AbsSlot.java
index 13fffd663..62c6e2658 100644
--- a/liteflow-core/src/main/java/com/yomahub/liteflow/entity/data/AbsSlot.java
+++ b/liteflow-core/src/main/java/com/yomahub/liteflow/entity/data/AbsSlot.java
@@ -105,12 +105,7 @@ public abstract class AbsSlot implements Slot{
}
public void addStep(CmpStep step){
- CmpStep lastStep = this.executeSteps.peekLast();
- if(lastStep != null && lastStep.equals(step)) {
- lastStep.setStepType(CmpStepType.SINGLE);
- }else {
- this.executeSteps.add(step);
- }
+ this.executeSteps.add(step);
}
public void printStep(){
diff --git a/liteflow-spring-boot-starter/pom.xml b/liteflow-spring-boot-starter/pom.xml
index 906ec2b35..abd264186 100644
--- a/liteflow-spring-boot-starter/pom.xml
+++ b/liteflow-spring-boot-starter/pom.xml
@@ -10,7 +10,7 @@
liteflow
com.yomahub
- 2.3.0
+ 2.3.1
diff --git a/liteflow-test-spring/pom.xml b/liteflow-test-spring/pom.xml
index 3ad7da517..6b9950e70 100644
--- a/liteflow-test-spring/pom.xml
+++ b/liteflow-test-spring/pom.xml
@@ -9,7 +9,7 @@
liteflow
com.yomahub
- 2.3.0
+ 2.3.1
diff --git a/liteflow-test-springboot/pom.xml b/liteflow-test-springboot/pom.xml
index 81eeb8865..2c2a81cc7 100644
--- a/liteflow-test-springboot/pom.xml
+++ b/liteflow-test-springboot/pom.xml
@@ -9,7 +9,7 @@
liteflow
com.yomahub
- 2.3.0
+ 2.3.1
diff --git a/pom.xml b/pom.xml
index 7fe36522a..7b26be55d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
com.yomahub
liteflow
pom
- 2.3.0
+ 2.3.1
liteflow
a lightweight and practical micro-process framework
https://github.com/bryan31/liteflow