Skip to content

Commit

Permalink
Add default retry strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
seppinho committed Jul 18, 2024
1 parent 2c37109 commit eca6ae6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conf/base.config
Original file line number Diff line number Diff line change
@@ -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 }
Expand Down

0 comments on commit eca6ae6

Please sign in to comment.