From 5c5262a31f7d7fc609a3c7d02df465892c4b7758 Mon Sep 17 00:00:00 2001 From: jasquat Date: Thu, 23 Feb 2023 15:06:23 -0500 Subject: [PATCH] added comment about refactoring getting task data w/ burnettk jbirddog --- .../routes/process_instances_controller.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/spiffworkflow_backend/routes/process_instances_controller.py b/src/spiffworkflow_backend/routes/process_instances_controller.py index 7d0b4837..4edbba04 100644 --- a/src/spiffworkflow_backend/routes/process_instances_controller.py +++ b/src/spiffworkflow_backend/routes/process_instances_controller.py @@ -576,6 +576,9 @@ def process_instance_task_list( 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 = {} for step_detail in step_details: if step_detail.task_id in tasks: