mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 12:12:08 +08:00
优化NodeComponent开始时的打印日志的时机
This commit is contained in:
@@ -30,4 +30,8 @@
|
|||||||
<chain name="chain2">
|
<chain name="chain2">
|
||||||
THEN(a,b,s1);
|
THEN(a,b,s1);
|
||||||
</chain>
|
</chain>
|
||||||
|
|
||||||
|
<chain name="chain3">
|
||||||
|
ITERATOR(d).parallel(true).DO(THEN(a,b,c));
|
||||||
|
</chain>
|
||||||
</flow>
|
</flow>
|
||||||
@@ -180,8 +180,6 @@ public class Node implements Executable, Cloneable, Rollbackable{
|
|||||||
|
|
||||||
// 判断是否可执行,所以isAccess经常作为一个组件进入的实际判断要素,用作检查slot里的参数的完备性
|
// 判断是否可执行,所以isAccess经常作为一个组件进入的实际判断要素,用作检查slot里的参数的完备性
|
||||||
if (getAccessResult() || instance.isAccess()) {
|
if (getAccessResult() || instance.isAccess()) {
|
||||||
LOG.info("[O]start component[{}] execution", instance.getDisplayName());
|
|
||||||
|
|
||||||
// 这里开始进行重试的逻辑和主逻辑的运行
|
// 这里开始进行重试的逻辑和主逻辑的运行
|
||||||
NodeExecutor nodeExecutor = NodeExecutorHelper.loadInstance()
|
NodeExecutor nodeExecutor = NodeExecutorHelper.loadInstance()
|
||||||
.buildNodeExecutor(instance.getNodeExecutorClass());
|
.buildNodeExecutor(instance.getNodeExecutorClass());
|
||||||
|
|||||||
Reference in New Issue
Block a user