Skip to content
Snippets Groups Projects
Commit cf2e72b9 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

make sure restarted workflows restart dag monitoring properly

parent 2f089af0
No related branches found
No related tags found
2 merge requests!1390Catch up with Main,!1316make sure restarted workflows restart dag monitoring properly
Pipeline #9473 passed
......@@ -22,7 +22,6 @@ Workspaces Workflow Service - Workflow Recovery Facility
import logging
import os
import pathlib
import subprocess
from pathlib import Path
from typing import List
......@@ -155,8 +154,9 @@ class MonitorRecover:
return
logger.info("Running wf_monitor.")
is_dag = True if str(logfile).endswith(".dagman.log") else False
WorkflowMonitor(logfile, wf_request).start()
WorkflowMonitor(logfile, wf_request, is_dag).start()
logger.info(f"Successfully reacquired monitor for request #{wf_request.workflow_request_id}. Continuing...")
def reacquire_inflight_requests(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment