1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-22 08:29:54 +00:00

Update shh.config

This commit is contained in:
James A. Fellows Yates 2020-07-08 09:20:00 +02:00 committed by GitHub
parent aac3478e86
commit 31edb4b5d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,43 +23,43 @@ process {
withLabel:'sc_tiny'{ withLabel:'sc_tiny'{
cpus = { check_max( 1, 'cpus' ) } cpus = { check_max( 1, 'cpus' ) }
memory = { check_max( 1.GB * task.attempt, 'memory' ) } memory = { check_max( 1.GB * task.attempt, 'memory' ) }
time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) } time = { task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h }
} }
withLabel:'sc_small'{ withLabel:'sc_small'{
cpus = { check_max( 1, 'cpus' ) } cpus = { check_max( 1, 'cpus' ) }
memory = { check_max( 4.GB * task.attempt, 'memory' ) } memory = { check_max( 4.GB * task.attempt, 'memory' ) }
time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) } time = { task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h }
} }
withLabel:'sc_medium'{ withLabel:'sc_medium'{
cpus = { check_max( 1, 'cpus' ) } cpus = { check_max( 1, 'cpus' ) }
memory = { check_max( 8.GB * task.attempt, 'memory' ) } memory = { check_max( 8.GB * task.attempt, 'memory' ) }
time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) } time = { task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h }
} }
withLabel:'mc_small'{ withLabel:'mc_small'{
cpus = { check_max( 2, 'cpus' ) } cpus = { check_max( 2, 'cpus' ) }
memory = { check_max( 4.GB * task.attempt, 'memory' ) } memory = { check_max( 4.GB * task.attempt, 'memory' ) }
time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) } time = { task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h }
} }
withLabel:'mc_medium' { withLabel:'mc_medium' {
cpus = { check_max( 4, 'cpus' ) } cpus = { check_max( 4, 'cpus' ) }
memory = { check_max( 8.GB * task.attempt, 'memory' ) } memory = { check_max( 8.GB * task.attempt, 'memory' ) }
time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) } time = { task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h }
} }
withLabel:'mc_large'{ withLabel:'mc_large'{
cpus = { check_max( 8, 'cpus' ) } cpus = { check_max( 8, 'cpus' ) }
memory = { check_max( 16.GB * task.attempt, 'memory' ) } memory = { check_max( 16.GB * task.attempt, 'memory' ) }
time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) } time = { task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h }
} }
withLabel:'mc_huge'{ withLabel:'mc_huge'{
cpus = { check_max( 32, 'cpus' ) } cpus = { check_max( 32, 'cpus' ) }
memory = { check_max( 256.GB * task.attempt, 'memory' ) } memory = { check_max( 256.GB * task.attempt, 'memory' ) }
time = { check_max( task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h, 'time' ) } time = { task.attempt == 3 ? 120.h : task.attempt == 2 ? 48.h : task.attempt == 1 ? 24.h : 1.h }
} }
} }