Skip to content

Commit d8715ce

Browse files
authored
adding startingDeadlineSeconds to 59 mins (#2657)
1 parent c96b6cf commit d8715ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

metaflow/plugins/argo/argo_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ def schedule_workflow_template(self, name, schedule=None, timezone=None):
325325
"failedJobsHistoryLimit": 10000, # default is unfortunately 1
326326
"successfulJobsHistoryLimit": 10000, # default is unfortunately 3
327327
"workflowSpec": {"workflowTemplateRef": {"name": name}},
328+
"startingDeadlineSeconds": 3540, # configuring this to 59 minutes so a failed trigger of cron workflow can succeed at most 59 mins after scheduled execution
328329
},
329330
}
330331
try:

0 commit comments

Comments
 (0)