S16 addendum: a waiting ask says when it waits again after a nak
Builds: design 47 H2 §777, H-A-410 and its addendum
This commit is contained in:
+3
-1
@@ -266,11 +266,13 @@ func subjectMatches(pattern, subject string) bool {
|
||||
}
|
||||
|
||||
// WaitingAsk is one ask waiting in a seat's work queue, as the runtime reads it without taking it (design 47 H2 §777,
|
||||
// H-A-410): the ask's id, the module that asked it and its age in seconds.
|
||||
// H-A-410): the ask's id, the module that asked it and its age in seconds. Again says it was handed out and handed back
|
||||
// (a nak) and no worker holds it: waiting again (H-A-410's addendum).
|
||||
type WaitingAsk struct {
|
||||
ID string `json:"id"`
|
||||
Module string `json:"module"`
|
||||
AgeSeconds float64 `json:"age_seconds"`
|
||||
Again bool `json:"again,omitempty"`
|
||||
}
|
||||
|
||||
// Waiting is the asks waiting in a seat's work queue, oldest first as the queue holds them; Capped says the runtime cut
|
||||
|
||||
Reference in New Issue
Block a user