do not write spiff step details to see how that changes performance
This commit is contained in:
parent
2b727c9a63
commit
fe4694729c
|
@ -1661,17 +1661,19 @@ class ProcessInstanceProcessor:
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Do_engine_steps."""
|
"""Do_engine_steps."""
|
||||||
|
|
||||||
def spiff_step_details_mapping_builder(
|
# NOTE: Commenting out to test how this changes performance:
|
||||||
task: SpiffTask, start: float, end: float
|
# def spiff_step_details_mapping_builder(
|
||||||
) -> dict:
|
# task: SpiffTask, start: float, end: float
|
||||||
self._script_engine.environment.revise_state_with_task_data(task)
|
# ) -> dict:
|
||||||
return self.spiff_step_details_mapping(task, start, end)
|
# self._script_engine.environment.revise_state_with_task_data(task)
|
||||||
|
# return self.spiff_step_details_mapping(task, start, end)
|
||||||
step_delegate = StepDetailLoggingDelegate(
|
#
|
||||||
self.increment_spiff_step, spiff_step_details_mapping_builder
|
# step_delegate = StepDetailLoggingDelegate(
|
||||||
)
|
# self.increment_spiff_step, spiff_step_details_mapping_builder
|
||||||
|
# )
|
||||||
task_model_delegate = TaskModelSavingDelegate(
|
task_model_delegate = TaskModelSavingDelegate(
|
||||||
secondary_engine_step_delegate=step_delegate,
|
# secondary_engine_step_delegate=step_delegate,
|
||||||
|
secondary_engine_step_delegate=None,
|
||||||
serializer=self._serializer,
|
serializer=self._serializer,
|
||||||
process_instance=self.process_instance_model,
|
process_instance=self.process_instance_model,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue