mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
优化FlowExecutor代码
This commit is contained in:
@@ -74,7 +74,8 @@ public class FlowExecutor {
|
||||
LiteflowConfigGetter.setLiteflowConfig(liteflowConfig);
|
||||
// 设置FlowExecutor的Holder,虽然大部分地方都可以通过Spring上下文获取到,但放入Holder,还是为了某些地方能方便的取到
|
||||
FlowExecutorHolder.setHolder(this);
|
||||
if (!liteflowConfig.getParseMode().equals(ParseModeEnum.PARSE_ALL_ON_FIRST_EXEC)) {
|
||||
|
||||
if (liteflowConfig.getParseMode().equals(ParseModeEnum.PARSE_ALL_ON_START)) {
|
||||
this.init(true);
|
||||
}
|
||||
// 初始化DataBus
|
||||
|
||||
Reference in New Issue
Block a user