revert 优化FlowExecutor代码

This commit is contained in:
everywhere.z
2024-08-08 13:55:48 +08:00
parent 4eed5cc31a
commit 1b4d51580c

View File

@@ -74,8 +74,7 @@ public class FlowExecutor {
LiteflowConfigGetter.setLiteflowConfig(liteflowConfig);
// 设置FlowExecutor的Holder虽然大部分地方都可以通过Spring上下文获取到但放入Holder还是为了某些地方能方便的取到
FlowExecutorHolder.setHolder(this);
if (liteflowConfig.getParseMode().equals(ParseModeEnum.PARSE_ALL_ON_START)) {
if (!liteflowConfig.getParseMode().equals(ParseModeEnum.PARSE_ALL_ON_FIRST_EXEC)) {
this.init(true);
}
// 初始化DataBus