Skip to content

Commit

Permalink
Merge pull request #425 from sartography/some_perf2
Browse files Browse the repository at this point in the history
Performance improvement when finding tasks in a subworkflow
  • Loading branch information
essweine authored Jul 3, 2024
2 parents 7e15a0b + 11fb41a commit a5dfbb3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions SpiffWorkflow/bpmn/util/subworkflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,4 @@ def _calculate_depth(self):
return depth

def get_task_from_id(self, task_id):
try:
return super().get_task_from_id(task_id)
except TaskNotFoundException as exc:
pass
return self.tasks.get(task_id)

0 comments on commit a5dfbb3

Please sign in to comment.