mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 19:18:17 +00:00
chores: add cpus, memory and time requirements to limit resource consumption
This commit is contained in:
parent
7d5ac60aa1
commit
4968458b6c
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,12 @@ params {
|
||||||
singularity_pull_docker_container = false
|
singularity_pull_docker_container = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
process {
|
||||||
|
cpus = 2
|
||||||
|
memory = 6.GB
|
||||||
|
time = 48.h
|
||||||
|
}
|
||||||
|
|
||||||
if ("$PROFILE" == "singularity") {
|
if ("$PROFILE" == "singularity") {
|
||||||
singularity.enabled = true
|
singularity.enabled = true
|
||||||
singularity.autoMounts = true
|
singularity.autoMounts = true
|
||||||
|
|
Loading…
Reference in a new issue