Skip to main content

Module state

Module state 

Source
Expand description

The live, queryable unserved-queue state. The live, queryable unserved-queue state.

A parked dispatch is no longer invisible. While one waits, its address sits in here with the taxonomy reason, the policy it is parked under, the poller census behind the verdict, and every run waiting on it — so “which runs are stuck, on what, since when” is a server-side read rather than a log archaeology exercise.

Entries exist only while a dispatch is actually parked: the wait loop clears its own entry on every exit path (served, refused, drained), so the state never accumulates addresses that are fine.

Structs§

Parked
One parked dispatch, as handed to QueueServiceState::mark.
QueueServiceState
Shared handle onto the live unserved-queue state.
UnservedDispatch
One run’s activity waiting on an unserved address.
UnservedKey
Identity of an unserved address: the pool plus the activity type on it.
UnservedQueue
The unserved state of one address, as read by an operator surface.