Expand description
What changed, for the UI’s live pages (see archive/PROJECT.md, Web UI: 34A): which run, which DAG, or the workers. Only what changed, never the new state: the UI reads that from the API.
The writes signal it themselves (triggers in the migrations): on Postgres a notification on
CHANGES_CHANNEL when the writing transaction commits, read through a listening
connection; on SQLite a row in changes, read by polling about once a second.
Structs§
- Changes
- The changes as they happen:
Changes::nextwaits for the next ones.
Enums§
- Change
- Something that changed.
Constants§
- CHANGES_
CHANNEL - The Postgres notification channel changes are announced on.
- POLL_
INTERVAL - How often SQLite’s
changestable is read. - POLL_
ROWS - At most this many rows of
changesa read.