From ca584367a0b2fb4c9d1568b2c2ab02a1b534d463 Mon Sep 17 00:00:00 2001 From: cccs-rs <62077998+cccs-rs@users.noreply.github.com> Date: Mon, 3 Mar 2025 20:50:02 +0000 Subject: [PATCH] Trigger a heartbeat to let the system know the workflow manager is still alive between tasks --- assemblyline_core/workflow/run_workflow.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assemblyline_core/workflow/run_workflow.py b/assemblyline_core/workflow/run_workflow.py index 723e4ac1..14f8754f 100644 --- a/assemblyline_core/workflow/run_workflow.py +++ b/assemblyline_core/workflow/run_workflow.py @@ -109,6 +109,9 @@ def try_run(self): if not workflow.enabled: continue + # Trigger a heartbeat to let the system know the workflow manager is still alive between tasks + self.heartbeat() + # Start of transaction if self.apm_client: self.apm_client.begin_transaction("Execute workflows")