mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
@@ -44,9 +44,6 @@ public class MemoryExecutor implements ExecutorInterface {
|
||||
private List<Flow> allFlows;
|
||||
private final ScheduledExecutorService schedulerDelay = Executors.newSingleThreadScheduledExecutor();
|
||||
|
||||
@Inject
|
||||
private ApplicationContext applicationContext;
|
||||
|
||||
@Inject
|
||||
private FlowRepositoryInterface flowRepository;
|
||||
|
||||
@@ -124,7 +121,7 @@ public class MemoryExecutor implements ExecutorInterface {
|
||||
}
|
||||
|
||||
Execution message = either.getLeft();
|
||||
if (skipExecutionService.skipExecution(message.getId())) {
|
||||
if (skipExecutionService.skipExecution(message)) {
|
||||
log.warn("Skipping execution {}", message.getId());
|
||||
return;
|
||||
}
|
||||
@@ -369,7 +366,7 @@ public class MemoryExecutor implements ExecutorInterface {
|
||||
|
||||
WorkerTaskResult message = either.getLeft();
|
||||
|
||||
if (skipExecutionService.skipExecution(message.getTaskRun().getExecutionId())) {
|
||||
if (skipExecutionService.skipExecution(message.getTaskRun())) {
|
||||
log.warn("Skipping execution {}", message.getTaskRun().getExecutionId());
|
||||
return;
|
||||
}
|
||||
@@ -426,7 +423,7 @@ public class MemoryExecutor implements ExecutorInterface {
|
||||
log.warn("Skipping execution {}", message.getExecutionId());
|
||||
return;
|
||||
}
|
||||
if (skipExecutionService.skipExecution(message.getParentTaskRun().getExecutionId())) {
|
||||
if (skipExecutionService.skipExecution(message.getParentTaskRun())) {
|
||||
log.warn("Skipping execution {}", message.getParentTaskRun().getExecutionId());
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user