Skip to main content

Module pacing

Module pacing 

Source
Expand description

How fast the Supervisor continues, with no I/O: the wait between a turn’s end and its continuation, the fleet budget of continuations per hour, and which notice group a stop belongs to. Spec §6.2.

Structs§

Budget
Continuations sent in the last hour, across every pane. In memory: a restart starts a fresh hour.
WaitOver
What a waiting continuation checks when its wait is over.

Constants§

RESTARTED
What a pane says when AgentMux restarted during a continuation’s wait: the wait is not persisted.
WAIT_PREFIX
The start of a pane’s reason while its continuation waits (“Continuing after a 30 s wait: …”). It names the wait, not the time left, so it is true for as long as the pane shows it.

Functions§

budget_reached
The sentence a pane shows when the fleet budget stops its continuation: what went out in the last hour, the cap, and when there is room again.
drop_restarted_wait
Clear a “Continuing after a …” line left by a previous run of srv, whose wait is gone. Whether it changed.
pause_group
The notice group of a stop: a question or “blocked” needs the user; a Continue verdict that a limit turned into a pause hit a limit; an agent that can’t run, or a continuation that couldn’t be delivered, failed.