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.
Examples
Capping the number of forks
{
"table": "sensors",
"fork": {
"key": {
"_gen": "sequentialString",
"expr": "sensor-~d"
},
"maxForks": 5
}
}
Specification
JSON schema
{
"type": "object",
"properties": {
"exactly": {
"oneOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "object",
"properties": {
"_gen": {
"type": "string"
}
},
"required": [
"_gen"
]
}
]
}
}
}