From eca6ae622a137cbd30f4d7e7425878ba4c59ca8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Sch=C3=B6nherr?= Date: Thu, 18 Jul 2024 11:59:24 +0200 Subject: [PATCH] Add default retry strategy --- conf/base.config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/base.config b/conf/base.config index af93a74..9bc2122 100644 --- a/conf/base.config +++ b/conf/base.config @@ -1,5 +1,9 @@ process { + errorStrategy = { task.exitStatus in ((130..145) + 104 + 151) ? 'retry' : 'terminate' } + maxErrors = '-1' + maxRetries = 3 + withName: 'INDEX' { cpus = { 1 * task.attempt } memory = { 1.GB * task.attempt }