mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-26 01:39:55 +00:00
Mad multi-core increase CPUs on retry
This commit is contained in:
parent
4335e5deb7
commit
3b7902d11b
1 changed files with 4 additions and 4 deletions
|
@ -37,25 +37,25 @@ process {
|
||||||
}
|
}
|
||||||
|
|
||||||
withLabel:'mc_small'{
|
withLabel:'mc_small'{
|
||||||
cpus = { check_max( 2, 'cpus' ) }
|
cpus = { check_max( 2 * task.attempt, 'cpus' ) }
|
||||||
memory = { check_max( 4.GB * task.attempt, 'memory' ) }
|
memory = { check_max( 4.GB * task.attempt, 'memory' ) }
|
||||||
time = 24.h
|
time = 24.h
|
||||||
}
|
}
|
||||||
|
|
||||||
withLabel:'mc_medium' {
|
withLabel:'mc_medium' {
|
||||||
cpus = { check_max( 4, 'cpus' ) }
|
cpus = { check_max( 4 * task.attempt, 'cpus' ) }
|
||||||
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
|
memory = { check_max( 8.GB * task.attempt, 'memory' ) }
|
||||||
time = 24.h
|
time = 24.h
|
||||||
}
|
}
|
||||||
|
|
||||||
withLabel:'mc_large'{
|
withLabel:'mc_large'{
|
||||||
cpus = { check_max( 8, 'cpus' ) }
|
cpus = { check_max( 8 * task.attempt, 'cpus' ) }
|
||||||
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
|
memory = { check_max( 16.GB * task.attempt, 'memory' ) }
|
||||||
time = 24.h
|
time = 24.h
|
||||||
}
|
}
|
||||||
|
|
||||||
withLabel:'mc_huge'{
|
withLabel:'mc_huge'{
|
||||||
cpus = { check_max( 32, 'cpus' ) }
|
cpus = { check_max( 32 * task.attempt, 'cpus' ) }
|
||||||
memory = { check_max( 256.GB * task.attempt, 'memory' ) }
|
memory = { check_max( 256.GB * task.attempt, 'memory' ) }
|
||||||
time = 24.h
|
time = 24.h
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue