diff --git a/conf/pipeline/eager/mpcdf.config b/conf/pipeline/eager/mpcdf.config index ead449d..832e5ed 100644 --- a/conf/pipeline/eager/mpcdf.config +++ b/conf/pipeline/eager/mpcdf.config @@ -37,25 +37,25 @@ process { } withLabel:'mc_small'{ - cpus = { check_max( 2, 'cpus' ) } + cpus = { check_max( 2 * task.attempt, 'cpus' ) } memory = { check_max( 4.GB * task.attempt, 'memory' ) } time = 24.h } withLabel:'mc_medium' { - cpus = { check_max( 4, 'cpus' ) } + cpus = { check_max( 4 * task.attempt, 'cpus' ) } memory = { check_max( 8.GB * task.attempt, 'memory' ) } time = 24.h } withLabel:'mc_large'{ - cpus = { check_max( 8, 'cpus' ) } + cpus = { check_max( 8 * task.attempt, 'cpus' ) } memory = { check_max( 16.GB * task.attempt, 'memory' ) } time = 24.h } withLabel:'mc_huge'{ - cpus = { check_max( 32, 'cpus' ) } + cpus = { check_max( 32 * task.attempt, 'cpus' ) } memory = { check_max( 256.GB * task.attempt, 'memory' ) } time = 24.h }