mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
Merge pull request #178 from MaxUlysse/master_resource_requirements
Add cpus, memory and time requirements to limit resource consumption
This commit is contained in:
commit
d30baa9e54
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,12 @@ params {
|
|||
singularity_pull_docker_container = false
|
||||
}
|
||||
|
||||
process {
|
||||
cpus = 2
|
||||
memory = 6.GB
|
||||
time = 48.h
|
||||
}
|
||||
|
||||
if ("$PROFILE" == "singularity") {
|
||||
singularity.enabled = true
|
||||
singularity.autoMounts = true
|
||||
|
|
Loading…
Reference in a new issue