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

add delay between log creation attempts

parent 7c29f503
No related branches found
No related tags found
3 merge requests!1687Pickup patch changes,!1685merge patch to main,!1674try to ensure all required log file exist before submission
Pipeline #16040 passed
This commit is part of merge request !1674. Comments created here will be created in the context of that merge request.
......@@ -804,6 +804,8 @@ class WorkflowService(WorkflowServiceIF):
return True
else:
logger.warning(f"Failed to create {logfile}. Trying again")
# sleep slightly, but not too long, and try again
sleep(0.5)
iteration += 1
self._create_base_logfile(logfile, iteration)
......
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