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 }