Skip to main content

Module process_local

Module process_local 

Source
Expand description

The in-memory maps this worker process keeps its advisory state in: the circuit breakers’, the rate limiter’s, and the worker loop’s last logged skips.

Structs§

LastReported 🔒
What this process last reported per key, to the dashboard’s copy of its in-memory state or to the log.
ProcessLocalMap 🔒
A map private to this worker process, for state that is advisory: a poisoned lock is recovered rather than taking the worker down.

Enums§

ScopeKey 🔒
Whose share of the breakers and the limiter a run uses. Keyed by scope rather than global: a test driving a deliberate outage for its own course must not silence the pipeline for every other test running at the same moment. Production only ever uses the global key.

Constants§

UNCHANGED_REPORT_REFRESH 🔒
How often an unchanged report is written anyway, so its updated_at still shows the process is alive.