Skip to content

Commit

Permalink
Merge pull request #748 from mirpedrol/use-resourceLimits
Browse files Browse the repository at this point in the history
add resourceLimits to self_hosted_runner profile
  • Loading branch information
mirpedrol authored Sep 17, 2024
2 parents 5231823 + f864a16 commit 80704b8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions conf/self_hosted_runner.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,21 @@ params {


// General cpus/memory/time requirements
// WARNING: This will be deprecated from the pipeline template in favour of resourceLimits
// Keeping the parameters for backwards compatibility
max_cpus = 2
max_memory = 7.GB
max_time = 72.h
}

process {
resourceLimits = [
cpus: 2,
memory: '7.GB',
time: '72.h'
]
}

docker {
enabled = true
fixOwnership = true
Expand Down

0 comments on commit 80704b8

Please sign in to comment.