Skip to content

Commit

Permalink
Merge pull request #3180 from mirpedrol/check-max
Browse files Browse the repository at this point in the history
Remove check_max() [skip changelog]
  • Loading branch information
mirpedrol authored Sep 27, 2024
2 parents b3042f3 + d7a98a0 commit b1304aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nf_core/pipeline-template/nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ includeConfig 'conf/base.config'
{%- else %}
process {
// TODO nf-core: Check the defaults for all processes
cpus = { check_max( 1 * task.attempt, 'cpus' ) }
memory = { check_max( 6.GB * task.attempt, 'memory' ) }
time = { check_max( 4.h * task.attempt, 'time' ) }
cpus = { 1 * task.attempt }
memory = { 6.GB * task.attempt }
time = { 4.h * task.attempt }

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

0 comments on commit b1304aa

Please sign in to comment.