added comment about refactoring getting task data w/ burnettk jbirddog

This commit is contained in:
jasquat 2023-02-23 15:06:23 -05:00
parent ec36290f22
commit 5c5262a31f
1 changed files with 3 additions and 0 deletions

View File

@ -576,6 +576,9 @@ def process_instance_task_list(
steps_by_id = {step_detail.task_id: step_detail for step_detail in step_details} steps_by_id = {step_detail.task_id: step_detail for step_detail in step_details}
# FIXME: never evaluate task data in this call and instead create a new api getter
# that will return the task data for a given step only. We think processing this
# data is what is causing long load times on the processInstanceShowPage.
subprocess_state_overrides = {} subprocess_state_overrides = {}
for step_detail in step_details: for step_detail in step_details:
if step_detail.task_id in tasks: if step_detail.task_id in tasks: