A2: the assigner pulls the seat mesh-wants' work queue and takes each ask once
A step ask put while the assigner was down waited for nobody: the plain subscription heard only what came while it ran. The assigner now pulls every waiting ask from the seat's one worker, takes it once by its id in its state taken (for ask-taken-bound), says ask-taken at the pull, sends in-progress while the step runs and acknowledges once the step's end is said. It serves the seat's act drop: a running ask is cancelled, one not yet pulled is kept in taken as dropped.<ask>; either ends its step could not run naming the drop. assigner_asks reads what waits on the queue (stdio.QueueWaiting) and what is taken or dropped; assigner_ask_drop ends one ask, written in the hand-act log. The manifest declares taken, drop, the two tools, ask-taken-bound and the kept-call pace as runtime settings. Builds: design 47 H2 §777, §775, §778, §820; H-A-381, H-A-401, H-A-404, H-A-410
This commit is contained in:
@@ -27,7 +27,8 @@
|
||||
"difference",
|
||||
"input",
|
||||
"compositions",
|
||||
"compositions-drop"
|
||||
"compositions-drop",
|
||||
"drop"
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -129,7 +130,9 @@
|
||||
"assigner_ask_again",
|
||||
"assigner_written",
|
||||
"assigner_why",
|
||||
"assigner_want_drop"
|
||||
"assigner_want_drop",
|
||||
"assigner_asks",
|
||||
"assigner_ask_drop"
|
||||
],
|
||||
"state": [
|
||||
{ "name": "assignments", "history": 64 },
|
||||
@@ -152,7 +155,8 @@
|
||||
{ "name": "waits", "history": 5 },
|
||||
{ "name": "put-waits", "history": 1 },
|
||||
{ "name": "inputs", "history": 1, "max-mib": 64 },
|
||||
{ "name": "composition-runs", "history": 1, "key-ttl": true, "max-mib": 64 }
|
||||
{ "name": "composition-runs", "history": 1, "key-ttl": true, "max-mib": 64 },
|
||||
{ "name": "taken", "history": 1, "key-ttl": true, "max-mib": 8 }
|
||||
],
|
||||
"config": {
|
||||
"outside-wait-minutes": {
|
||||
@@ -226,6 +230,27 @@
|
||||
"maximum": 1000,
|
||||
"trusted": false,
|
||||
"default": 20
|
||||
},
|
||||
"ask-taken-bound": {
|
||||
"type": "string",
|
||||
"description": "how long the assigner keeps the id of an ask it took from the seat mesh-wants' work queue, so a repeat of it is taken once, and the drop of an ask not pulled yet, a Go duration such as 10m (design 47 H2 §775, §778; H-A-381 (2), H-A-404).",
|
||||
"trusted": false,
|
||||
"default": "10m",
|
||||
"runtime": true
|
||||
},
|
||||
"kept-call-pace-first": {
|
||||
"type": "string",
|
||||
"description": "the first wait before a kept call met by a transport fault is made again, doubled per call up to kept-call-pace-max, a Go duration (design 47 H2 §775).",
|
||||
"trusted": false,
|
||||
"default": "1s",
|
||||
"runtime": true
|
||||
},
|
||||
"kept-call-pace-max": {
|
||||
"type": "string",
|
||||
"description": "the most a kept call's wait between calls grows to, a Go duration (design 47 H2 §775).",
|
||||
"trusted": false,
|
||||
"default": "30s",
|
||||
"runtime": true
|
||||
}
|
||||
},
|
||||
"objects": [
|
||||
|
||||
Reference in New Issue
Block a user