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:
2026-11-22 00:01:45 +01:00
parent 5cca1fceba
commit 0c7000fa93
3 changed files with 46 additions and 21 deletions
+20
View File
@@ -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",