Expand description
Applying commands: the master reads pending command rows, oldest first, and applies each through the scheduler and the dispatcher (see archive/PROJECT.md, Web UI and CLI).
A command that can’t be applied (an unknown DAG or run, a run already finished, --for in
the future, a payload that doesn’t read) is rejected with a reason; an applied one
records what it produced (the run a trigger created, the runs a pause cancelled). A database
failure leaves the command pending: the next pass tries again.
Structs§
- Applied
- What a pass over the pending commands did.
- Commander
- Applies command rows.
- Decided
- How a command was decided.
- SentJob
- A connections job sent to a worker.
Enums§
- Command
Error - Why applying commands stopped (the command stays pending).
Constants§
- COMMANDS_
PER_ ROUND - The most commands a round applies (about 8 ms each in stress runs): a burst (101 triggers at once, about 0.85 s) goes over a few rounds, the oldest first (B18).
Functions§
- connection_
job_ id - A connections job’s ID: its command’s and its root, so an answer finds its place in the command’s result whatever the master remembers.
- parse_
connection_ job_ id - The command and the root a job ID names.