8a81089785
During workflow executions there are a lot of calls of function 'find_task_executions_by_name' from lookup_utils. This function internally calls 'get_task_executions' with two filters: name and workflow_execution_id. To optimize this call it's reasonable to add a composite db index by these two fields. Another optimization is to explicitely disable sorting by 'created_at', because it's unnecessary in this particulat case. Change-Id: Ife150a384575cc4ad2fe45dc093816b48268df6f |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
commands.py | ||
data_flow.py | ||
direct_workflow.py | ||
lookup_utils.py | ||
reverse_workflow.py | ||
states.py | ||
utils.py |