diff --git a/conf/base.config b/conf/base.config index eb6fbee..cfc388f 100644 --- a/conf/base.config +++ b/conf/base.config @@ -11,9 +11,9 @@ process { // TODO nf-core: Check the defaults for all processes - cpus = { 1 * task.attempt } + cpus = { 2 * task.attempt } memory = { 6.GB * task.attempt } - time = { 4.h * task.attempt } + time = { 10.m * task.attempt } errorStrategy = { task.exitStatus in ((130..145) + 104) ? 'retry' : 'finish' } maxRetries = 1 @@ -28,23 +28,23 @@ process { // See https://www.nextflow.io/docs/latest/config.html#config-process-selectors withLabel:process_single { cpus = { 1 } - memory = { 6.GB * task.attempt } - time = { 4.h * task.attempt } + memory = { 1.GB * task.attempt } + time = { 10.m * task.attempt } } withLabel:process_low { cpus = { 2 * task.attempt } - memory = { 12.GB * task.attempt } - time = { 4.h * task.attempt } + memory = { 2.GB * task.attempt } + time = { 10.m * task.attempt } } withLabel:process_medium { - cpus = { 6 * task.attempt } - memory = { 36.GB * task.attempt } - time = { 8.h * task.attempt } + cpus = { 2 * task.attempt } + memory = { 4.GB * task.attempt } + time = {10.m * task.attempt } } withLabel:process_high { - cpus = { 12 * task.attempt } - memory = { 72.GB * task.attempt } - time = { 16.h * task.attempt } + cpus = { 2 * task.attempt } + memory = { 16.GB * task.attempt } + time = { 30.m * task.attempt } } withLabel:process_long { time = { 20.h * task.attempt } diff --git a/conf/test.config b/conf/test.config index 0ebc405..d421c46 100644 --- a/conf/test.config +++ b/conf/test.config @@ -12,9 +12,9 @@ process { resourceLimits = [ - cpus: 4, - memory: '15.GB', - time: '1.h' + cpus: 2, + memory: '2.GB', + time: '10.m' ] }