From 9608f65efb48cfbbe10512db16baa0f12fa97a22 Mon Sep 17 00:00:00 2001 From: jbirddog <100367399+jbirddog@users.noreply.github.com> Date: Fri, 13 Jan 2023 14:32:19 -0500 Subject: [PATCH] Skip refresh steps (#103) --- .../services/process_instance_processor.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/spiffworkflow_backend/services/process_instance_processor.py b/src/spiffworkflow_backend/services/process_instance_processor.py index 86a84be1..2c77f0bb 100644 --- a/src/spiffworkflow_backend/services/process_instance_processor.py +++ b/src/spiffworkflow_backend/services/process_instance_processor.py @@ -1257,10 +1257,13 @@ class ProcessInstanceProcessor: step_details = [] try: self.bpmn_process_instance.refresh_waiting_tasks( - will_refresh_task=lambda t: self.increment_spiff_step(), - did_refresh_task=lambda t: step_details.append( - self.spiff_step_details_mapping() - ), + # + # commenting out to see if this helps with the growing spiff steps/db issue + # + # will_refresh_task=lambda t: self.increment_spiff_step(), + # did_refresh_task=lambda t: step_details.append( + # self.spiff_step_details_mapping() + # ), ) self.bpmn_process_instance.do_engine_steps(