mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
fix(core): declare the FlowExecutor as a bean (#3389)
This commit is contained in:
@@ -111,8 +111,6 @@ public class MemoryExecutor implements ExecutorInterface {
|
||||
flowListeners.run();
|
||||
flowListeners.listen(flows -> this.allFlows = flows);
|
||||
|
||||
applicationContext.registerSingleton(new DefaultFlowExecutor(flowListeners, this.flowRepository));
|
||||
|
||||
this.executionQueue.receive(MemoryExecutor.class, this::executionQueue);
|
||||
this.workerTaskResultQueue.receive(MemoryExecutor.class, this::workerTaskResultQueue);
|
||||
this.killQueue.receive(MemoryExecutor.class, this::killQueue);
|
||||
|
||||
Reference in New Issue
Block a user