Skip refresh steps (#103)

This commit is contained in:
jbirddog 2023-01-13 14:32:19 -05:00 committed by GitHub
parent 20a48e6ef0
commit 9608f65efb
1 changed files with 7 additions and 4 deletions

View File

@ -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(