Skip to main content

runtime

A Node-RED flow can create nodes in the address space while the gateway runs. These nodes are runtime nodes. A container accepts runtime nodes only where its type declares a place for them, for example <ResultVariable> under ResultManagement/Results. Write one entry for each container to set its maximum and its retention. A container with no entry holds at most 1000 runtime nodes and refuses more.

Example​

runtime:
- parent: $Mill01/ResultManagement/Results
maxCount: 500
maxAgeDays: 30
onFull: delete-oldest

The value​

runtime: is a list. Each entry is a runtime container policy.

A runtime container policy​

The limit and the retention of the runtime nodes of one container.

KeyWhat it doesValueRequired
parentThe container that the entry applies to, as a browse path, for example $Mill01/ResultManagement/Results.textyes
maxCountThe largest number of runtime nodes that the container holds. The default is 1000.whole number
maxAgeDaysThe gateway deletes runtime nodes that are older than this number of days. If you omit the key, the nodes stay until something deletes them.number
onFullWhat happens when the container is full. refuse refuses a new node above maxCount. delete-oldest deletes the oldest runtime node. The default is refuse.refuse, delete-oldest