mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
feat(core): kill trigger running on worker when updated
This commit is contained in:
@@ -507,13 +507,15 @@ public class MemoryExecutor implements ExecutorInterface {
|
||||
return;
|
||||
}
|
||||
|
||||
ExecutionKilled message = either.getLeft();
|
||||
if (!(either.getLeft() instanceof ExecutionKilledExecution message)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (skipExecutionService.skipExecution(message.getExecutionId())) {
|
||||
log.warn("Skipping execution {}", message.getExecutionId());
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
synchronized (this) {
|
||||
if (log.isDebugEnabled()) {
|
||||
executorService.log(log, true, message);
|
||||
|
||||
Reference in New Issue
Block a user