Skip to content

Commit

Permalink
Merge pull request #79 from elenaviter/flexible-cpu-quota
Browse files Browse the repository at this point in the history
#3174: Enable Multi-Core CPU Support for Node-RED Projects
  • Loading branch information
hardillb authored Dec 7, 2023
2 parents 77ef5ad + 30c7cc4 commit c774451
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ module.exports = {
stack: {
properties: {
cpu: {
label: 'CPU Cores (%)',
validate: '^([1-9][0-9]?|100)$',
invalidMessage: 'Invalid value - must be a number between 1 and 100',
description: 'How much of a single CPU core each Project should receive'
label: 'CPU Cores (in 1/100th units)',
validate: '^([1-9][0-9]{0,2}|1000)$',
invalidMessage: 'Invalid value - must be a number between 1 and 1000, where 100 represents 1 CPU core',
description: 'Defines the CPU resources each Project should receive, in units of 1/100th of a CPU core. 100 equates to 1 CPU core'
},
memory: {
label: 'Memory (MB)',
Expand Down

0 comments on commit c774451

Please sign in to comment.