Skip to content

Commit

Permalink
Merge pull request #86 from sanger-tol/maxRetries
Browse files Browse the repository at this point in the history
Update maxRetries
  • Loading branch information
priyanka-surana authored Oct 19, 2023
2 parents 33a8b4e + ebf0747 commit 3a60381
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ process {
time = { check_max( 4.h * task.attempt, 'time' ) }

errorStrategy = { task.exitStatus in ((130..145) + 104) ? 'retry' : 'finish' }
maxRetries = 1
maxRetries = 5
maxErrors = '-1'

// Process-specific resource requirements
Expand Down Expand Up @@ -50,6 +50,11 @@ process {
withLabel:process_high_memory {
memory = { check_max( 200.GB * task.attempt, 'memory' ) }
}
withName:"COOLER_.*" {
cpus = { check_max( 6 * task.attempt, 'cpus' ) }
memory = { check_max( 36.GB * task.attempt, 'memory' ) }
time = { check_max( 8.h * task.attempt, 'time' ) }
}
withLabel:error_ignore {
errorStrategy = 'ignore'
}
Expand Down

0 comments on commit 3a60381

Please sign in to comment.