Skip to content
Snippets Groups Projects
Commit 2b17c9cd authored by Nathan Hertz's avatar Nathan Hertz
Browse files

Fix wf_monitor timeout to actually raise a SIGALRM

parent 9d835c8d
No related branches found
No related tags found
1 merge request!286Fix wf_monitor timeout to actually raise a SIGALRM
Pipeline #1890 passed
......@@ -166,8 +166,8 @@ class WorkflowMonitor:
"""
time_remaining = timeout
time_between_attempts = 3 # seconds
signal.alarm(timeout)
while not os.path.exists(self.logfile_path):
signal.alarm(timeout)
logger.info(
f"Attempting to read log file {self.logfile_path}... {time_remaining} seconds left..."
)
......
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