Skip to main content

Fork

maxForks

Commentary​

added in 0.1.0

The maximum number of forks that will be spawned. After this number is met, this no more forks will ever be created unless keepAlive is on.


Examples​

Capping the number of forks​

{
"table": "sensors",
"fork": {
"key": {
"_gen": "sequentialString",
"expr": "sensor-~d"
},
"maxForks": 5
}
}

Specification​

JSON schema​

{
"type": "integer",
"minimum": 1
}