H-A-146: the bound before a failed resolution is asked again is the setting resolve-again-minutes

A failed resolution of a want's version, or one forgotten after a failed fetch, stood a minute written into
the code; by principle 11 a bound is a setting with a default. The manifest declares resolve-again-minutes
(1 to 60, default 1) and its file, the engine reads it at its start and hands it to the composer's Env.

Builds: design 47 H H-A-146 (hq 26f5505e), principle 11
This commit is contained in:
2026-11-20 20:54:32 +01:00
parent 79a0dbf41d
commit 7d5faee346
8 changed files with 87 additions and 15 deletions
+3
View File
@@ -73,6 +73,9 @@ type Env struct {
// EntryAsks is the setting `entry-asks`: how often an entry whose ask failed in transport is asked again before it is
// unanswered; meshcatalogclient.DefaultEntryAsks when 0 (design 47 H, H-A-60).
EntryAsks int
// ResolveAgain is the setting `resolve-again-minutes`: how long a failed resolution of a want's version stands before the
// seats' verb versions is asked again; DefaultResolveAgain when 0 (design 47 H, H-A-146; principle 11).
ResolveAgain time.Duration
// Watch follows one bucket's keys matching pattern, as the agent's watches do.
Watch func(ctx context.Context, bucket, pattern string) (<-chan agent.Update, error)
// Get reads one key's latest value; nil and no error when there is none.