Skip to main content

Module snapshot

Module snapshot 

Source
Expand description

Read-only answers while the core is busy.

The core handles one request at a time, and a generation change can hold it for many minutes (evaluate, build, activate, check). Before handling a request that may take that long, the daemon takes a snapshot of what status, log, incidents and the console would show; until the request finishes, those are answered from the snapshot, marked as such, instead of waiting behind it.

Structs§

Busy
What the core is doing instead of answering.
Snapshot

Constants§

LOG_LINES 🔒
Lines of the log kept for planarian log while busy.

Functions§

describe
A few words for “busy with …”.
read_only
Requests that only read, and so may be answered from a snapshot.