From 2d9e2523de9c5c4b0b5964928fb02262fb7726c2 Mon Sep 17 00:00:00 2001
From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu>
Date: Thu, 7 Jan 2021 20:24:26 -0600
Subject: [PATCH] Add retries to all data-hub processes for biohpc config

---
 workflow/conf/biohpc.config | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/workflow/conf/biohpc.config b/workflow/conf/biohpc.config
index ae32988..e2d47d2 100755
--- a/workflow/conf/biohpc.config
+++ b/workflow/conf/biohpc.config
@@ -12,6 +12,8 @@ process {
   }
   withName:getBag {
     executor = 'local'
+    errorStrategy = 'retry'
+    maxRetries = 1
   }
   withName:getData {
     queue = 'super'
@@ -67,30 +69,44 @@ process {
   }
   withName:uploadInputBag {
     executor = 'local'
+    errorStrategy = 'retry'
+    maxRetries = 1
   }
   withName:uploadExecutionRun {
     executor = 'local'
+    errorStrategy = 'retry'
+    maxRetries = 1
   }
   withName:uploadQC {
     executor = 'local'
   }
   withName:uploadProcessedFile {
     executor = 'local'
+    errorStrategy = 'retry'
+    maxRetries = 1
   }
   withName:uploadOutputBag {
     executor = 'local'
   }
   withName:finalizeExecutionRun {
     executor = 'local'
+    errorStrategy = 'retry'
+    maxRetries = 1
   }
   withName:failPreExecutionRun {
     executor = 'local'
+    errorStrategy = 'retry'
+    maxRetries = 1
   }
   withName:failPreExecutionRun {
     executor = 'local'
+    errorStrategy = 'retry'
+    maxRetries = 1
   }
   withName:failExecutionRun {
     executor = 'local'
+    errorStrategy = 'retry'
+    maxRetries = 1
   }
 }
 
-- 
GitLab