We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64a6b2e commit 3d2eebeCopy full SHA for 3d2eebe
core/src/main/java/dev/vml/es/acm/core/code/ExecutionQueue.java
@@ -140,12 +140,8 @@ public boolean isStoppingOrStopped(String executionId) {
140
if (job == null) {
141
return false;
142
}
143
- ExecutionStatus status = ExecutionStatus.of(job.getProperty(ExecutionJob.ACTIVE_STATUS_PROP, String.class))
144
- .orElse(null);
145
- if (ExecutionStatus.STOPPING.equals(status)) {
146
- return true;
147
- }
148
- return Job.JobState.STOPPED.equals(job.getJobState());
+ ExecutionStatus status = ExecutionStatus.of(job, executor);
+ return status == ExecutionStatus.STOPPING || status == ExecutionStatus.STOPPED;
149
150
151
public Stream<ExecutionSummary> findAllSummaries() {
0 commit comments