From b8fd0ea52922bcf7857d2f7e73eebecad82c8fd7 Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent.modolo@ens-lyon.fr>
Date: Mon, 15 Jul 2024 18:37:01 +0200
Subject: [PATCH] update errorStrategy

---
 conf/base.config | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/base.config b/conf/base.config
index e47134e..499eb93 100644
--- a/conf/base.config
+++ b/conf/base.config
@@ -14,8 +14,8 @@ process {
     memory = { check_max( 8.GB * task.attempt, 'memory' ) }
     time   = { check_max( 12.h  * task.attempt, 'time'   ) }
 
-    errorStrategy = { task.exitStatus in ((130..145) + 104) ? 'retry' : 'ignore' }
-    maxRetries    = 3
+    errorStrategy = { task.exitStatus in ((130..145) + 104) ? 'retry' : 'finish' }
+    maxRetries    = 1
     maxErrors     = '-1'
 
     // Process-specific resource requirements
-- 
GitLab