FlowExecutor增加LiteflowConfig的构造方法

This commit is contained in:
bryan31
2022-02-22 18:21:28 +08:00
parent 92f7994756
commit b9198df609
2 changed files with 8 additions and 3 deletions

View File

@@ -34,9 +34,7 @@ public class LiteflowMainAutoConfiguration {
@Bean
public FlowExecutor flowExecutor(LiteflowConfig liteflowConfig) {
FlowExecutor flowExecutor = new FlowExecutor();
flowExecutor.setLiteflowConfig(liteflowConfig);
return flowExecutor;
return new FlowExecutor(liteflowConfig);
}
@Bean