Skip to content

Commit

Permalink
[incubator-kie-issues-646] Duplicate timer created for Task SLA Due d…
Browse files Browse the repository at this point in the history
…ate with AsyncMode env setting (kiegroup#2352)
  • Loading branch information
elguardian authored and fjtirado committed Nov 6, 2023
1 parent 849e1c0 commit a6ef8f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public long getId() {

@Override
public Object getMetaData(String name) {
return ((NodeImpl)node).getMetaData(name);
return getMetaData(name);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ public void setEventType(String eventType) {
this.eventType = eventType;
}

@Override
protected void configureSla() {
// an async event node cannot have an sla event
}

@Override
public Node getNode() {
return new AsyncEventNode(super.getNode());
Expand Down

0 comments on commit a6ef8f0

Please sign in to comment.