Declare the runner's drain bound and kept-call pace settings, read at its start
node-tools declares drain-bound (30s), kept-call-pace-first (1s) and kept-call-pace-max (30s) as duration settings; the runner reads the pace through the SDK at its start, as it reads its drain bound, and stops before it serves on a value that is no duration. Builds: design 47 H2 §775, §813 (12), §781, H-A-370, H-A-377
This commit is contained in:
@@ -37,6 +37,26 @@
|
||||
"why": "the mesh's tools for whoever is on this machine, over MCP on loopback; the machine's login is the authority (novox/hq ADR 0152, 0175)"
|
||||
}
|
||||
],
|
||||
"config": {
|
||||
"drain-bound": {
|
||||
"type": "string",
|
||||
"description": "how long the tool runner, once told to stop, finishes the calls in flight before it cuts them and stops its bundles, a Go duration such as 30s (design 47 H2 §813 (12), H-A-377).",
|
||||
"trusted": false,
|
||||
"default": "30s"
|
||||
},
|
||||
"kept-call-pace-first": {
|
||||
"type": "string",
|
||||
"description": "how long the tool runner's kept call waits after its first transport fault before it calls again, doubling to kept-call-pace-max, a Go duration such as 1s (design 47 H2 §775).",
|
||||
"trusted": false,
|
||||
"default": "1s"
|
||||
},
|
||||
"kept-call-pace-max": {
|
||||
"type": "string",
|
||||
"description": "the longest wait of the tool runner's kept call between two calls, a Go duration such as 30s (design 47 H2 §775).",
|
||||
"trusted": false,
|
||||
"default": "30s"
|
||||
}
|
||||
},
|
||||
"resources": [
|
||||
{
|
||||
"id": "mesh-state",
|
||||
|
||||
Reference in New Issue
Block a user