Skip to content

Commit

Permalink
Update base.config
Browse files Browse the repository at this point in the history
  • Loading branch information
fmalmeida committed Feb 28, 2022
1 parent eca1836 commit cc87955
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ process {
cpus = { if (task.attempt == 1) { check_max( 4 * task.attempt, 'cpus' ) } else { params.max_cpus } }
memory = { if (task.attempt == 1) { check_max( 14.GB * task.attempt, 'memory' ) } else { params.max_memory } }
time = { if (task.attempt == 1) { check_max( 16.h * task.attempt, 'time' ) } else { params.max_time } }

// retry at least once to try it with full resources
errorStrategy = { task.exitStatus in [143,137,104,134,139] ? 'retry' : 'finish' }
maxRetries = 1
maxErrors = '-1'
}

}
Expand Down

0 comments on commit cc87955

Please sign in to comment.